[PATCH] netfilter: kmod-nft-netdev: add egress support

谢致邦 (XIE Zhibang) Yeking at Red54.com
Wed May 29 04:41:12 PDT 2024


The netdev egress hook was added in Linux kernel 5.16.

Signed-off-by: 谢致邦 (XIE Zhibang) <Yeking at Red54.com>
---
 package/kernel/linux/modules/netfilter.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/kernel/linux/modules/netfilter.mk b/package/kernel/linux/modules/netfilter.mk
index da3e69e49a..e90c8382a1 100644
--- a/package/kernel/linux/modules/netfilter.mk
+++ b/package/kernel/linux/modules/netfilter.mk
@@ -1205,6 +1205,7 @@ define KernelPackage/nft-netdev
   DEPENDS:=+kmod-nft-core
   KCONFIG:= \
 	CONFIG_NETFILTER_INGRESS=y \
+	CONFIG_NETFILTER_EGRESS=y \
 	CONFIG_NF_TABLES_NETDEV \
 	CONFIG_NF_DUP_NETDEV \
 	CONFIG_NFT_DUP_NETDEV \
-- 
2.44.0





More information about the openwrt-devel mailing list