summaryrefslogtreecommitdiffstats
path: root/net/netfilter/ipvs/ip_vs_lblc.c
diff options
context:
space:
mode:
authorSimon Horman2011-02-04 10:33:02 +0100
committerSimon Horman2011-03-15 01:37:00 +0100
commita7a86b8616bc1595c4f5f109b7c39d4eb5d55e32 (patch)
tree2cddab348ea11091fced0a07a6218dc7ea9c059f /net/netfilter/ipvs/ip_vs_lblc.c
parentIPVS: Conditional ip_vs_conntrack_enabled() (diff)
downloadkernel-qcow2-linux-a7a86b8616bc1595c4f5f109b7c39d4eb5d55e32.tar.gz
kernel-qcow2-linux-a7a86b8616bc1595c4f5f109b7c39d4eb5d55e32.tar.xz
kernel-qcow2-linux-a7a86b8616bc1595c4f5f109b7c39d4eb5d55e32.zip
IPVS: Minimise ip_vs_leave when CONFIG_SYSCTL is undefined
Much of ip_vs_leave() is unnecessary if CONFIG_SYSCTL is undefined. I tried an approach of breaking the now #ifdef'ed portions out into a separate function. However this appeared to grow the compiled code on x86_64 by about 200 bytes in the case where CONFIG_SYSCTL is defined. So I have gone with the simpler though less elegant #ifdef'ed solution for now. Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'net/netfilter/ipvs/ip_vs_lblc.c')
0 files changed, 0 insertions, 0 deletions