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>
This commit is contained in:
committed by
Petr Štetiar
parent
65f3e7ce1f
commit
df8e4906f7
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user