aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2022-02-24 05:47:11 +0000
committerYousong Zhou <yszhou4tech@gmail.com>2022-02-28 10:24:17 +0800
commit0225df1ec8570d144a0a8d7862036c532cc44dbd (patch)
tree57845b0cdfec5737f1df9b7a8fa3ce6f4895433b /package/kernel/linux
parent4f443c885dede3331b969e6265a41a0ff1e3059a (diff)
downloadupstream-0225df1ec8570d144a0a8d7862036c532cc44dbd.tar.gz
upstream-0225df1ec8570d144a0a8d7862036c532cc44dbd.tar.bz2
upstream-0225df1ec8570d144a0a8d7862036c532cc44dbd.zip
netfilter: add kmod-nft-socket
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Diffstat (limited to 'package/kernel/linux')
-rw-r--r--package/kernel/linux/modules/netfilter.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netfilter.mk b/package/kernel/linux/modules/netfilter.mk
index 85780306f3..7200af769f 100644
--- a/package/kernel/linux/modules/netfilter.mk
+++ b/package/kernel/linux/modules/netfilter.mk
@@ -1217,6 +1217,17 @@ endef
$(eval $(call KernelPackage,nft-queue))
+define KernelPackage/nft-socket
+ SUBMENU:=$(NF_MENU)
+ TITLE:=Netfilter nf_tables socket support
+ DEPENDS:=+kmod-nft-core +kmod-nf-socket
+ FILES:=$(foreach mod,$(NFT_SOCKET-m),$(LINUX_DIR)/net/$(mod).ko)
+ AUTOLOAD:=$(call AutoProbe,$(notdir $(NFT_SOCKET-m)))
+ KCONFIG:=$(KCONFIG_NFT_SOCKET)
+endef
+
+$(eval $(call KernelPackage,nft-socket))
+
define KernelPackage/nft-compat
SUBMENU:=$(NF_MENU)
TITLE:=Netfilter nf_tables compat support