Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7543913ybi; Tue, 9 Jul 2019 00:03:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqxVTDy6Gnns9nl5Hi0BHoNj/WeRFEsaaSsW9jTIV4EC/bR6opHEuvWrkvRP/s42Q9t9OoW5 X-Received: by 2002:a65:4cc4:: with SMTP id n4mr29577036pgt.307.1562655794038; Tue, 09 Jul 2019 00:03:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562655794; cv=none; d=google.com; s=arc-20160816; b=lkJbrVmrbj0Z3iDs1GMxA9bpl1//nI19H/2TTkaeEjxliu40V5bv45rF8C3Bx54gH2 yHfBSKpTwG1AzHIY/B/VF5JbkYQyiTsoj98n4u5MVCbJFJRn2ja8mhvhK6kRg3hlcXk7 lebMFDqYo3zpRyyKalfkECV3hNQW8oLGRw0bwEe6Q7foCyqdPqN38RqYG07tbPqQUi+h 2OEYmfO5Of1ZsUEccJhkBTcMvdRIzSEl6uimycXMM/RxlOt1ae7x+EzfjAcnPf2PQIGU mAyVThE2foSqIL2MgzEPPi1B4JYGieGqO3MHt9syhDEeqQ8Qd5ZZVQRrz2COcq6r11vU LNGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=aDKS4LnrKDuKz4Di1HM3zzXHRrddpwKZ9+Cc5tKCS7I=; b=L4XVxIS8bE5zhKTG3qU6OKFSUBKEQTQabjuiN53Q5PY0W/yyM4bq8x3JS07aD2bOOS chj6dbtcubKgZJPneCpGsA5pVSov7nje367CJE1YNbQusOiQug1qbMJPFS0Be4u6MkN6 vlggI4oR0uOncItB75P9ITNMTBzLWFlVVWg1J4QaX3RH1AnN+gUTWVLkjUp0fPBCSCzx 2So+KUwre7m++g/M2thV+mxuFSUe1Zax6unhyaZYz1QGoUzk606KY8KHgwlkdY7vFGxH YQjMc0MMi1vbvFLx0D5nd+86wTjavOOx5TBgEQq2GdhaEs1ETZ+u9xK25GsfGyHv4EU8 /eBA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a32si20536817pla.178.2019.07.09.00.02.58; Tue, 09 Jul 2019 00:03:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726096AbfGIHCi (ORCPT + 99 others); Tue, 9 Jul 2019 03:02:38 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:2191 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725818AbfGIHCi (ORCPT ); Tue, 9 Jul 2019 03:02:38 -0400 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 127BF232B05D5409DAFF; Tue, 9 Jul 2019 15:02:34 +0800 (CST) Received: from localhost (10.133.213.239) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.439.0; Tue, 9 Jul 2019 15:02:26 +0800 From: YueHaibing To: , , , , , , CC: , , , , , YueHaibing Subject: [PATCH net-next] netfilter: nft_meta: Fix build error Date: Tue, 9 Jul 2019 15:01:26 +0800 Message-ID: <20190709070126.29972-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.133.213.239] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org If NFT_BRIDGE_META is y and NF_TABLES is m, building fails: net/bridge/netfilter/nft_meta_bridge.o: In function `nft_meta_bridge_get_init': nft_meta_bridge.c:(.text+0xd0): undefined reference to `nft_parse_register' nft_meta_bridge.c:(.text+0xec): undefined reference to `nft_validate_register_store' Reported-by: Hulk Robot Fixes: 30e103fe24de ("netfilter: nft_meta: move bridge meta keys into nft_meta_bridge") Signed-off-by: YueHaibing --- net/bridge/netfilter/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/net/bridge/netfilter/Kconfig b/net/bridge/netfilter/Kconfig index fbc7085..ca3214f 100644 --- a/net/bridge/netfilter/Kconfig +++ b/net/bridge/netfilter/Kconfig @@ -12,6 +12,7 @@ if NF_TABLES_BRIDGE config NFT_BRIDGE_META tristate "Netfilter nf_table bridge meta support" + depends on NF_TABLES help Add support for bridge dedicated meta key. -- 2.7.4