summaryrefslogtreecommitdiff
path: root/net/ipv4/devinet.c
diff options
context:
space:
mode:
authorNeil Horman <nhorman@tuxdriver.com>2006-03-20 22:39:47 -0800
committerDavid S. Miller <davem@davemloft.net>2006-03-20 22:39:47 -0800
commitabd596a4b68b6526c2676233e10602dd9660e9d7 (patch)
tree4122bd7fc36c18ffb762ea8ae6d5c794c1924222 /net/ipv4/devinet.c
parent59f1741e541bf4f6139599389610a70de49c3ad2 (diff)
downloadlwn-abd596a4b68b6526c2676233e10602dd9660e9d7.tar.gz
lwn-abd596a4b68b6526c2676233e10602dd9660e9d7.zip
[IPV4] ARP: Alloc acceptance of unsolicited ARP via netdevice sysctl.
Signed-off-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/devinet.c')
-rw-r--r--net/ipv4/devinet.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c
index 3ffa60dadc0c..44fdf1413e2c 100644
--- a/net/ipv4/devinet.c
+++ b/net/ipv4/devinet.c
@@ -1394,6 +1394,14 @@ static struct devinet_sysctl_table {
.proc_handler = &proc_dointvec,
},
{
+ .ctl_name = NET_IPV4_CONF_ARP_ACCEPT,
+ .procname = "arp_accept",
+ .data = &ipv4_devconf.arp_accept,
+ .maxlen = sizeof(int),
+ .mode = 0644,
+ .proc_handler = &proc_dointvec,
+ },
+ {
.ctl_name = NET_IPV4_CONF_NOXFRM,
.procname = "disable_xfrm",
.data = &ipv4_devconf.no_xfrm,