]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc959d2c807412b92b1683c65876d291eed3bd394
tree216e2b70e58032217082da224c397db46c13429c
parent718334e4389d5d5df18a2e1812f9acc3224bece7
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