]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/chelsio/sge.c
[SK_BUFF]: Introduce arp_hdr(), remove skb->nh.arph
[net-next-2.6.git] / drivers / net / chelsio / sge.c
index c357f45a16c3f921225ff6c5d195242c50d23f60..a4204dff3636c0ce13416c98db180d7f0e682a53 100644 (file)
@@ -1925,7 +1925,7 @@ int t1_start_xmit(struct sk_buff *skb, struct net_device *dev)
                 */
                if ((unlikely(!adapter->sge->espibug_skb[dev->if_port]))) {
                        if (skb->protocol == htons(ETH_P_ARP) &&
-                           skb->nh.arph->ar_op == htons(ARPOP_REQUEST)) {
+                           arp_hdr(skb)->ar_op == htons(ARPOP_REQUEST)) {
                                adapter->sge->espibug_skb[dev->if_port] = skb;
                                /* We want to re-use this skb later. We
                                 * simply bump the reference count and it