IPVS: Allow compilation with CONFIG_SYSCTL disabled
authorSimon Horman <horms@verge.net.au>
Tue, 1 Feb 2011 17:29:04 +0000 (18:29 +0100)
committerPatrick McHardy <kaber@trash.net>
Tue, 1 Feb 2011 17:29:04 +0000 (18:29 +0100)
commit0443929ff0ecc4d1e690edaffa338cabe0863d3b
treee2929aa684cbe25525356829bd60c5f5e3119199
parenta13676476e289ba03a23e27df130c7f33ab00e2f
IPVS: Allow compilation with CONFIG_SYSCTL disabled

This is a rather naieve approach to allowing PVS to compile with
CONFIG_SYSCTL disabled.  I am working on a more comprehensive patch which
will remove compilation of all sysctl-related IPVS code when CONFIG_SYSCTL
is disabled.

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Hans Schillstrom <hans@schillstrom.com>
Tested-by: Hans Schillstrom <hans@schillstrom.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/ipvs/ip_vs_ctl.c
net/netfilter/ipvs/ip_vs_lblc.c
net/netfilter/ipvs/ip_vs_lblcr.c