]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IPVS]: Fix sysctl warnings about missing strategy
authorChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 20 Nov 2007 05:49:25 +0000 (21:49 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Nov 2007 05:49:25 +0000 (21:49 -0800)
commit611cd55b155a89d9a0ce5f92a9cbabc5e284d0d4
tree369fe04d727a5ef83b2585f95604ce3092051021
parent21df56c6e2372e09c916111efb6c14c372a5ab2e
[IPVS]: Fix sysctl warnings about missing strategy

Running the latest git code I get the following messages during boot:
sysctl table check failed: /net/ipv4/vs/drop_entry .3.5.21.4 Missing strategy
[...]
sysctl table check failed: /net/ipv4/vs/drop_packet .3.5.21.5 Missing strategy
[...]
sysctl table check failed: /net/ipv4/vs/secure_tcp .3.5.21.6 Missing strategy
[...]
sysctl table check failed: /net/ipv4/vs/sync_threshold .3.5.21.24 Missing strategy

I removed the binary sysctl handler for those messages and also removed
the definitions in ip_vs.h. The alternative would be to implement a
proper strategy handler, but syscall sysctl is deprecated.

There are other sysctl definitions that are commented out or work with
the default sysctl_data strategy. I did not touch these.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Simon Horman <horms@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip_vs.h
kernel/sysctl_check.c
net/ipv4/ipvs/ip_vs_ctl.c