From 2b6eab507a2679a7be70740dd7f42860c59bec9e Mon Sep 17 00:00:00 2001 From: Brett Mastbergen Date: Tue, 11 Dec 2018 14:09:22 -0500 Subject: netfilter: Add fib support for nftables Signed-off-by: Brett Mastbergen --- package/kernel/linux/modules/netfilter.mk | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'package/kernel') diff --git a/package/kernel/linux/modules/netfilter.mk b/package/kernel/linux/modules/netfilter.mk index 0ba66caf7d..25715be5d1 100644 --- a/package/kernel/linux/modules/netfilter.mk +++ b/package/kernel/linux/modules/netfilter.mk @@ -1164,3 +1164,15 @@ define KernelPackage/nft-netdev endef $(eval $(call KernelPackage,nft-netdev)) + + +define KernelPackage/nft-fib + SUBMENU:=$(NF_MENU) + TITLE:=Netfilter nf_tables fib support + DEPENDS:=+kmod-nft-core + FILES:=$(foreach mod,$(NFT_FIB-m),$(LINUX_DIR)/net/$(mod).ko) + AUTOLOAD:=$(call AutoProbe,$(notdir $(NFT_FIB-m))) + KCONFIG:=$(KCONFIG_NFT_FIB) +endef + +$(eval $(call KernelPackage,nft-fib)) -- cgit v1.2.3