I have a userspace package that depends on having NF_CONNTRACK_EVENTS
enabled in the kernel.  However, currently that option is not selected
by any OpenWRT package.  So, I've added it to ipt-nathelper-extra:

--- a/package/kernel/modules/netfilter.mk
+++ b/package/kernel/modules/netfilter.mk
@@ -203,7 +203,9 @@ $(eval $(call KernelPackage,ipt-nathelper))
 
 define KernelPackage/ipt-nathelper-extra
   TITLE:=Extra Conntrack and NAT helpers
-  KCONFIG:=$(KCONFIG_IPT_NATHELPER_EXTRA)
+  KCONFIG:= \
+       CONFIG_NF_CONNTRACK_EVENTS=y \
+       $(KCONFIG_IPT_NATHELPER_EXTRA)
   FILES:=$(foreach mod,$(IPT_NATHELPER_EXTRA-m),$(LINUX_DIR)/net/$(mod).ko)
   AUTOLOAD:=$(call AutoLoad,45,$(notdir $(IPT_NATHELPER_EXTRA-m)))
   $(call AddDepends/ipt,+kmod-ipt-nat +kmod-textsearch)

Is that the right thing to do here?  Is this patch a candidate for
inclusion in mainline?

Thanks in advance for the advise,

Ryan
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to