aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules
diff options
context:
space:
mode:
authorBrett Mastbergen <bmastbergen@untangle.com>2020-10-30 10:35:05 -0400
committerPetr Štetiar <ynezz@true.cz>2020-11-12 18:19:44 +0100
commitdf8e4906f7d02fbf7f705c14fe304e4f4cb4cf38 (patch)
tree4e21c7d206132a0bfe596b3d9995ed547aa7552b /package/kernel/linux/modules
parent65f3e7ce1f4ad0abda9f0b98ffb7972960602b41 (diff)
downloadupstream-df8e4906f7d02fbf7f705c14fe304e4f4cb4cf38.tar.gz
upstream-df8e4906f7d02fbf7f705c14fe304e4f4cb4cf38.tar.bz2
upstream-df8e4906f7d02fbf7f705c14fe304e4f4cb4cf38.zip
netfilter: Add queue support for nftables
This change adds the configuration option to build and include the nft_queue kernel module, which allows traffic to be queued up to userspace from an nftables rule Tested-by: Sébastien Delafond sdelafond@gmail.com Signed-off-by: Brett Mastbergen <bmastbergen@untangle.com>
Diffstat (limited to 'package/kernel/linux/modules')
-rw-r--r--package/kernel/linux/modules/netfilter.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netfilter.mk b/package/kernel/linux/modules/netfilter.mk
index 22a9f8e2a6..aacf5948b1 100644
--- a/package/kernel/linux/modules/netfilter.mk
+++ b/package/kernel/linux/modules/netfilter.mk
@@ -1167,3 +1167,15 @@ define KernelPackage/nft-fib
endef
$(eval $(call KernelPackage,nft-fib))
+
+
+define KernelPackage/nft-queue
+ SUBMENU:=$(NF_MENU)
+ TITLE:=Netfilter nf_tables queue support
+ DEPENDS:=+kmod-nft-core +kmod-nfnetlink-queue
+ FILES:=$(foreach mod,$(NFT_QUEUE-m),$(LINUX_DIR)/net/$(mod).ko)
+ AUTOLOAD:=$(call AutoProbe,$(notdir $(NFT_QUEUE-m)))
+ KCONFIG:=$(KCONFIG_NFT_QUEUE)
+endef
+
+$(eval $(call KernelPackage,nft-queue))