]> Pileus Git - ~andy/linux/blobdiff - net/ipv4/arp.c
net: skb->dst accessors
[~andy/linux] / net / ipv4 / arp.c
index 816494f271a72e6d1412a213026342a4f5f218b4..8a3881e28aca42d5066970276085bfdbe1535499 100644 (file)
@@ -468,7 +468,7 @@ int arp_find(unsigned char *haddr, struct sk_buff *skb)
        __be32 paddr;
        struct neighbour *n;
 
-       if (!skb->dst) {
+       if (!skb_dst(skb)) {
                printk(KERN_DEBUG "arp_find is called with dst==NULL\n");
                kfree_skb(skb);
                return 1;