[openwrt/openwrt] netfilter: kmod-nft-netdev: add egress support

LEDE Commits lede-commits at lists.infradead.org
Sat Jul 13 05:55:02 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/e4ce494529e70795822efb9822ec26c283442214

commit e4ce494529e70795822efb9822ec26c283442214
Author: 谢致邦 (XIE Zhibang) <Yeking at Red54.com>
AuthorDate: Mon Jun 17 16:07:53 2024 +0000

    netfilter: kmod-nft-netdev: add egress support
    
    The netdev egress hook was added in Linux kernel 5.16.
    
    Link: https://patchwork.ozlabs.org/project/openwrt/patch/tencent_EB1DF62723D08576A747D0DAE16FFB99B505@qq.com/
    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 8bf2be585f..3cf63982ba 100644
--- a/package/kernel/linux/modules/netfilter.mk
+++ b/package/kernel/linux/modules/netfilter.mk
@@ -1217,6 +1217,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 \




More information about the lede-commits mailing list