summaryrefslogtreecommitdiff
path: root/scripts/extract-vmlinux
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-12-07 14:26:09 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2017-12-07 23:19:58 +0100
commit96307a0a75d8f1847debefd6a402339aac43e224 (patch)
tree70650890126e4b34e3fb8f1c84b268274af210d5 /scripts/extract-vmlinux
parent916a27901de01446bcf57ecca4783f6cff493309 (diff)
downloadlinux-next-96307a0a75d8f1847debefd6a402339aac43e224.tar.gz
netfilter: ipt_CLUSTERIP: fix clusterip_net_exit build regression
The added check produces a build error when CONFIG_PROC_FS is disabled: net/ipv4/netfilter/ipt_CLUSTERIP.c: In function 'clusterip_net_exit': net/ipv4/netfilter/ipt_CLUSTERIP.c:822:28: error: 'cn' undeclared (first use in this function) This moves the variable declaration out of the #ifdef to make it available to the WARN_ON_ONCE(). Fixes: 613d0776d3fe ("netfilter: exit_net cleanup check added") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Vasily Averin <vvs@virtuozzo.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'scripts/extract-vmlinux')
0 files changed, 0 insertions, 0 deletions