summaryrefslogtreecommitdiff
path: root/package/kernel
diff options
context:
space:
mode:
authorAlin Năstac <alin.nastac@gmail.com>2016-05-19 09:54:06 +0200
committerJo-Philipp Wich <jo@mein.io>2016-05-24 13:30:57 +0200
commit0cc58a0f98be555b101d9dffe4082b132741e40a (patch)
tree93031d001505bcd1b0d86ba4423eed1cd27fe8e5 /package/kernel
parentaf1e70b4a730e91ce1668d506ebc5c1c8cf5abf5 (diff)
downloadmtk-20170518-0cc58a0f98be555b101d9dffe4082b132741e40a.zip
mtk-20170518-0cc58a0f98be555b101d9dffe4082b132741e40a.tar.gz
mtk-20170518-0cc58a0f98be555b101d9dffe4082b132741e40a.tar.bz2
conntrack: enable support for netfilter conntrack zones
Storage of such zones is provided by a nf_ct_ext struct, hence conntrack memory foot print will not be increased if zones are not used. Signed-off-by: Alin Năstac <alin.nastac@gmail.com>
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/linux/modules/netfilter.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netfilter.mk b/package/kernel/linux/modules/netfilter.mk
index a0a19b2..353de3e 100644
--- a/package/kernel/linux/modules/netfilter.mk
+++ b/package/kernel/linux/modules/netfilter.mk
@@ -68,6 +68,7 @@ define KernelPackage/nf-conntrack
KCONFIG:= \
CONFIG_NETFILTER=y \
CONFIG_NETFILTER_ADVANCED=y \
+ CONFIG_NF_CONNTRACK_ZONES=y \
$(KCONFIG_NF_CONNTRACK)
FILES:=$(foreach mod,$(NF_CONNTRACK-m),$(LINUX_DIR)/net/$(mod).ko)
AUTOLOAD:=$(call AutoProbe,$(notdir $(NF_CONNTRACK-m)))