summaryrefslogtreecommitdiff
path: root/net/psample/Makefile
blob: 609b0a79c9f3b5e840f3496dea23a11dc7e9a453 (plain)
1
2
3
4
5
#
# Makefile for the psample netlink channel
#

obj-$(CONFIG_PSAMPLE) += psample.o
mmit info' class='commit-info'> authorArnd Bergmann <arnd@arndb.de>2017-01-13 16:41:03 +0100 committerPablo Neira Ayuso <pablo@netfilter.org>2017-01-18 20:59:22 +0100 commit3fd0b634de7d6b9a85f34a4cf9d8afc1df465cc9 (patch) tree5e230d234f0e74ed4c732396f97dcb479a6e3f58 parente4670b058af64639ec1aef4db845c39bfdfff7c4 (diff)
netfilter: ipt_CLUSTERIP: fix build error without procfs
We can't access c->pde if CONFIG_PROC_FS is disabled: net/ipv4/netfilter/ipt_CLUSTERIP.c: In function 'clusterip_config_find_get': net/ipv4/netfilter/ipt_CLUSTERIP.c:147:9: error: 'struct clusterip_config' has no member named 'pde' This moves the check inside of another #ifdef. Fixes: 6c5d5cfbe3c5 ("netfilter: ipt_CLUSTERIP: check duplicate config when initializing") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat