]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/ipv4/arp.c
Merge tag 'rproc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ohad...
[karo-tx-linux.git] / net / ipv4 / arp.c
index 63e49890ad31df807d50c93a9618622dab2c2103..18d9b81ecb1ac2a61d53b492a81781ad0bcfc2d8 100644 (file)
 #include <net/ax25.h>
 #include <net/netrom.h>
 
-#include <asm/system.h>
 #include <linux/uaccess.h>
 
 #include <linux/netfilter_arp.h>
@@ -889,7 +888,7 @@ static int arp_process(struct sk_buff *skb)
 
        n = __neigh_lookup(&arp_tbl, &sip, dev, 0);
 
-       if (IPV4_DEVCONF_ALL(dev_net(dev), ARP_ACCEPT)) {
+       if (IN_DEV_ARP_ACCEPT(in_dev)) {
                /* Unsolicited ARP is not accepted by default.
                   It is possible, that this option should be enabled for some
                   devices (strip is candidate)