summaryrefslogtreecommitdiffstats
path: root/net/netfilter/nft_log.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2015-09-28 10:23:27 -0500
committerSimon Horman <horms@verge.net.au>2015-10-01 15:05:15 +0900
commitb59f2e31b8abda3d63c53ea7672a219639ded61b (patch)
treed2103db1ae801f842de95a091d236f48b5f8c407 /net/netfilter/nft_log.c
parent4bf1b54f9df7ced4869f7dfd0bdf5eb22aa98447 (diff)
downloadlinux-stable-b59f2e31b8abda3d63c53ea7672a219639ded61b.tar.gz
linux-stable-b59f2e31b8abda3d63c53ea7672a219639ded61b.tar.bz2
linux-stable-b59f2e31b8abda3d63c53ea7672a219639ded61b.zip
ipvs: Don't protect ip_vs_addr_is_unicast with CONFIG_SYSCTL
I arranged the code so that the compiler can remove the unecessary bits in ip_vs_leave when CONFIG_SYSCTL is unset, and removed an explicit CONFIG_SYSCTL. Unfortunately when rebasing my work on top of that of Alex Gartrell I missed the fact that the newly added function ip_vs_addr_is_unicast was surrounded by CONFIG_SYSCTL. So remove the now unnecessary CONFIG_SYSCTL guards around ip_vs_addr_is_unicast. It is causing build failures today when CONFIG_SYSCTL is not selected and any self respecting compiler will notice that sysctl_cache_bypass is always false without CONFIG_SYSCTL and not include the logic from the function ip_vs_addr_is_unicast in the compiled code. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Acked-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'net/netfilter/nft_log.c')
0 files changed, 0 insertions, 0 deletions