[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201116034203.7264-1-rdunlap@infradead.org>
Date: Sun, 15 Nov 2020 19:42:03 -0800
From: Randy Dunlap <rdunlap@...radead.org>
To: netdev@...r.kernel.org
Cc: Randy Dunlap <rdunlap@...radead.org>,
kernel test robot <lkp@...el.com>,
"Jose M . Guisado Gomez" <guigom@...eup.net>,
Pablo Neira Ayuso <pablo@...filter.org>,
Jozsef Kadlecsik <kadlec@...filter.org>,
Florian Westphal <fw@...len.de>,
netfilter-devel@...r.kernel.org, coreteam@...filter.org,
Jakub Kicinski <kuba@...nel.org>
Subject: [PATCH net-next] netfilter: nf_reject: bridge: fix build errors due to code movement
Fix build errors in net/bridge/netfilter/nft_reject_bridge.ko
by selecting NF_REJECT_IPV4, which provides the missing symbols.
ERROR: modpost: "nf_reject_skb_v4_tcp_reset" [net/bridge/netfilter/nft_reject_bridge.ko] undefined!
ERROR: modpost: "nf_reject_skb_v4_unreach" [net/bridge/netfilter/nft_reject_bridge.ko] undefined!
Fixes: fa538f7cf05a ("netfilter: nf_reject: add reject skbuff creation helpers")
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
Cc: kernel test robot <lkp@...el.com>
Cc: Jose M. Guisado Gomez <guigom@...eup.net>
Cc: Pablo Neira Ayuso <pablo@...filter.org>
Cc: Jozsef Kadlecsik <kadlec@...filter.org>
Cc: Florian Westphal <fw@...len.de>
Cc: netfilter-devel@...r.kernel.org
Cc: coreteam@...filter.org
Cc: Jakub Kicinski <kuba@...nel.org>
---
net/bridge/netfilter/Kconfig | 1 +
1 file changed, 1 insertion(+)
--- linux-next-20201113.orig/net/bridge/netfilter/Kconfig
+++ linux-next-20201113/net/bridge/netfilter/Kconfig
@@ -18,6 +18,7 @@ config NFT_BRIDGE_META
config NFT_BRIDGE_REJECT
tristate "Netfilter nf_tables bridge reject support"
depends on NFT_REJECT
+ depends on NF_REJECT_IPV4
help
Add support to reject packets.
Powered by blists - more mailing lists