diff options
author | Etienne Champetier <champetier.etienne@gmail.com> | 2022-01-27 16:00:21 -0500 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-02-02 23:24:03 +0100 |
commit | 1ebb8e3b6be8ed070dcb466fc8d1631e5453df72 (patch) | |
tree | 7d79bf458148df0953c3c1a8b1b637836189567b /package/kernel/linux | |
parent | 4e7ad159043f3c75eaf4d81a2dc089d7babba07e (diff) | |
download | upstream-1ebb8e3b6be8ed070dcb466fc8d1631e5453df72.tar.gz upstream-1ebb8e3b6be8ed070dcb466fc8d1631e5453df72.tar.bz2 upstream-1ebb8e3b6be8ed070dcb466fc8d1631e5453df72.zip |
netfilter: add kmod-nft-compat
This modules is required by iptables-nft
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
Diffstat (limited to 'package/kernel/linux')
-rw-r--r-- | package/kernel/linux/modules/netfilter.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netfilter.mk b/package/kernel/linux/modules/netfilter.mk index f204b257d1..75a06fb651 100644 --- a/package/kernel/linux/modules/netfilter.mk +++ b/package/kernel/linux/modules/netfilter.mk @@ -1179,3 +1179,14 @@ define KernelPackage/nft-queue endef $(eval $(call KernelPackage,nft-queue)) + +define KernelPackage/nft-compat + SUBMENU:=$(NF_MENU) + TITLE:=Netfilter nf_tables compat support + DEPENDS:=+kmod-nft-core +kmod-nf-ipt + FILES:=$(foreach mod,$(NFT_COMPAT-m),$(LINUX_DIR)/net/$(mod).ko) + AUTOLOAD:=$(call AutoProbe,$(notdir $(NFT_COMPAT-m))) + KCONFIG:=$(KCONFIG_NFT_COMPAT) +endef + +$(eval $(call KernelPackage,nft-compat)) |