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 <l...@intel.com> Signed-off-by: Randy Dunlap <rdun...@infradead.org> Cc: kernel test robot <l...@intel.com> Cc: Jose M. Guisado Gomez <gui...@riseup.net> Cc: Pablo Neira Ayuso <pa...@netfilter.org> Cc: Jozsef Kadlecsik <kad...@netfilter.org> Cc: Florian Westphal <f...@strlen.de> Cc: netfilter-de...@vger.kernel.org Cc: coret...@netfilter.org Cc: Jakub Kicinski <k...@kernel.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.