diff options
Diffstat (limited to 'net/ipv4/arp.c')
-rw-r--r-- | net/ipv4/arp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/arp.c b/net/ipv4/arp.c index 63e49890ad31..73f46d691abc 100644 --- a/net/ipv4/arp.c +++ b/net/ipv4/arp.c | |||
@@ -889,7 +889,7 @@ static int arp_process(struct sk_buff *skb) | |||
889 | 889 | ||
890 | n = __neigh_lookup(&arp_tbl, &sip, dev, 0); | 890 | n = __neigh_lookup(&arp_tbl, &sip, dev, 0); |
891 | 891 | ||
892 | if (IPV4_DEVCONF_ALL(dev_net(dev), ARP_ACCEPT)) { | 892 | if (IN_DEV_ARP_ACCEPT(in_dev)) { |
893 | /* Unsolicited ARP is not accepted by default. | 893 | /* Unsolicited ARP is not accepted by default. |
894 | It is possible, that this option should be enabled for some | 894 | It is possible, that this option should be enabled for some |
895 | devices (strip is candidate) | 895 | devices (strip is candidate) |