]> err.no Git - linux-2.6/commit
[IPVS]: Fix sysctl warnings about missing strategy in schedulers
authorSimon Horman <horms@verge.net.au>
Tue, 20 Nov 2007 05:50:21 +0000 (21:50 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Nov 2007 05:50:21 +0000 (21:50 -0800)
commit9e103fa6bd53147e228e941256803a6b8927cdb9
tree9460058bcf8d27f4a3f9f69103b896ff74cf6f0a
parent611cd55b155a89d9a0ce5f92a9cbabc5e284d0d4
[IPVS]: Fix sysctl warnings about missing strategy in schedulers

sysctl table check failed: /net/ipv4/vs/lblc_expiration .3.5.21.19 Missing strategy
[...]
sysctl table check failed: /net/ipv4/vs/lblcr_expiration .3.5.21.20 Missing strategy

Switch these entried over to use CTL_UNNUMBERED as clearly
the sys_syscal portion wasn't working.

This is along the same lines as Christian Borntraeger's patch that fixes
up entries with no stratergy in net/ipv4/ipvs/ip_vs_ctl.c

Signed-off-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_lblc.c
net/ipv4/ipvs/ip_vs_lblcr.c