net neigh: Decouple per interface neighbour table controls from binary sysctls
authorEric W. Biederman <ebiederm@xmission.com>
Sun, 14 Feb 2010 03:27:03 +0000 (03:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Feb 2010 23:55:18 +0000 (15:55 -0800)
commit54716e3beb0ab20c49471348dfe399a71bfc8fd3
tree216e2b70e58032217082da224c397db46c13429c
parent02291680ffba92e5b5865bc0c5e7d1f3056b80ec
net neigh: Decouple per interface neighbour table controls from binary sysctls

Stop computing the number of neighbour table settings we have by
counting the number of binary sysctls.  This behaviour was silly
and meant that we could not add another neighbour table setting
without also adding another binary sysctl.

Don't pass the binary sysctl path for neighour table entries
into neigh_sysctl_register.  These parameters are no longer
used and so are just dead code.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/sysctl.h
include/net/neighbour.h
net/core/neighbour.c
net/ipv4/arp.c
net/ipv4/devinet.c
net/ipv6/addrconf.c
net/ipv6/ndisc.c