From patchwork Mon Nov 16 03:42:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 11907339 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3EE7DC4742C for ; Mon, 16 Nov 2020 03:42:37 +0000 (UTC) Received: from vger.kernel.org (unknown [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C70A52225E for ; Mon, 16 Nov 2020 03:42:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="dBB+XQDO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C70A52225E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=netdev-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726704AbgKPDmQ (ORCPT ); Sun, 15 Nov 2020 22:42:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726359AbgKPDmP (ORCPT ); Sun, 15 Nov 2020 22:42:15 -0500 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5850EC0613CF; Sun, 15 Nov 2020 19:42:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=zql9Wmwi3sE1HYgw8ZdAK67RzlkxzMR12yOWc2tObwI=; b=dBB+XQDOhLl0c6Qr6FP86RlKX9 +3NMHlnmbassjX2cz/53VIkRW/NsvD9Jg68lZCIZ+Iktas/avxSnvCiZ/rxa6f3zI/qwLcOCf2oW3 +aDfYw8dStRwK/V88munLm88worWTNOTGOl1yOBLupBdvgqA9Tjkj7tojgY9qzX+Ttyjw0sC7YQ/o rAGGqA13+WMERtXA3R3NOGz/Q+FmNKg5IXnJH9n4gjBwT0vvraWoNikmI1nLrTW9tTnMnwwAl3KwG FdmbcIsHsKcNV7C4fyYRqdLgKz+TeZwP1bV5jpgugVuNSjvtzEdAEDexlUHihgVuO83+Kcp+M4hFh TKx5YNqQ==; Received: from [2601:1c0:6280:3f0::f32] (helo=smtpauth.infradead.org) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1keVP7-0001f8-65; Mon, 16 Nov 2020 03:42:09 +0000 From: Randy Dunlap To: netdev@vger.kernel.org Cc: Randy Dunlap , kernel test robot , "Jose M . Guisado Gomez" , Pablo Neira Ayuso , Jozsef Kadlecsik , Florian Westphal , netfilter-devel@vger.kernel.org, coreteam@netfilter.org, Jakub Kicinski Subject: [PATCH net-next] netfilter: nf_reject: bridge: fix build errors due to code movement Date: Sun, 15 Nov 2020 19:42:03 -0800 Message-Id: <20201116034203.7264-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org 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 Signed-off-by: Randy Dunlap Cc: kernel test robot Cc: Jose M. Guisado Gomez Cc: Pablo Neira Ayuso Cc: Jozsef Kadlecsik Cc: Florian Westphal Cc: netfilter-devel@vger.kernel.org Cc: coreteam@netfilter.org Cc: Jakub Kicinski --- 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.