Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp30908ybi; Thu, 30 May 2019 19:49:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqy/NccewwMVUfeIe0bVMGj9wjEBwi8GeodX3ABqa1J5dMt3Fxlw+UVOFk+AldxjjWuLMiHn X-Received: by 2002:a17:902:6b81:: with SMTP id p1mr6479883plk.207.1559270958250; Thu, 30 May 2019 19:49:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559270958; cv=none; d=google.com; s=arc-20160816; b=gAFxtvflmAKxcvv/EyM9iaQ4RulRTeobO8PrSvqm9AUgZBpzF48oOc1FMqKO2VJu9u pr1hjs3vuVryIdUlXobwkZ+OYVOxr2gYeC7YLyAGD6ltGxmzXb+7fdt29V8YZNAKyOaZ Pwl/hB+cL9Rvb7nzEzHCr0gQY8Mg8txB2ftP2tXLBX1Na0PSIXfX452jq9WrU48ieCxx qyU8uRmy9lXhEm9ulsr2Cw5K/UGN9TR4nSc6e82d53I3O9csrLHt2VtNhN9BTH7ne81n Tutx6z0J8afWG0vAqb8bqDnspXghCHFZ0i+SjXnGgtYrBYdPXw/5qdVt316+DmXLrm9a oCZA== 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=/ku/6JiYZC3x63pkV9WsUZdDecpeSEX+2NAUn6Xu/2k=; b=oQg997WSPCX97iVPv900+gLyVi8n4XOKTLUCKkJuyGXZeCvkSf7TyCqWk0fwkvvW6o xVRPwAhtMj1Bntt236sjWYqTECEqAxY5oMD/P/yfUKufiFlQlgatP3w2EtmJ0gpiKk4s hkOAyv877kaOLsWjCkdkLN7M3s2h0MFW7y49k02J3nJN4iITqWHBXJD9xysPDUvDS5M5 DD9k7o28loIeXS1WDatOwCbNn9mZvdcoYdFUvbJ27yJ/TWYCxCcAkMFda7pee8ftFv/B O5E4YlCpRNW+jyAH5cZ0R3LfvaeXYOu3ZzQxAdX2/KdIqAw1Ygh0NvxZKhcffvkOCkPG Juzg== 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 h34si4814900pld.187.2019.05.30.19.49.02; Thu, 30 May 2019 19:49:18 -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 S1726610AbfEaCr7 (ORCPT + 99 others); Thu, 30 May 2019 22:47:59 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:45926 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726512AbfEaCr6 (ORCPT ); Thu, 30 May 2019 22:47:58 -0400 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 682805B63DFC80789401; Fri, 31 May 2019 10:47:55 +0800 (CST) Received: from localhost (10.133.213.239) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.439.0; Fri, 31 May 2019 10:47:46 +0800 From: YueHaibing To: , , CC: , , , YueHaibing Subject: [PATCH net-next] netfilter: nf_conntrack_bridge: Fix build error without IPV6 Date: Fri, 31 May 2019 10:46:43 +0800 Message-ID: <20190531024643.3840-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 Fix gcc build error while CONFIG_IPV6 is not set In file included from net/netfilter/core.c:19:0: ./include/linux/netfilter_ipv6.h: In function 'nf_ipv6_br_defrag': ./include/linux/netfilter_ipv6.h:110:9: error: implicit declaration of function 'nf_ct_frag6_gather' [-Werror=implicit-function-declaration] Reported-by: Hulk Robot Fixes: 764dd163ac92 ("netfilter: nf_conntrack_bridge: add support for IPv6") Signed-off-by: YueHaibing --- include/linux/netfilter_ipv6.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/netfilter_ipv6.h b/include/linux/netfilter_ipv6.h index a21b8c9..4ea97fd 100644 --- a/include/linux/netfilter_ipv6.h +++ b/include/linux/netfilter_ipv6.h @@ -96,6 +96,8 @@ static inline int nf_ip6_route(struct net *net, struct dst_entry **dst, #endif } +int nf_ct_frag6_gather(struct net *net, struct sk_buff *skb, u32 user); + static inline int nf_ipv6_br_defrag(struct net *net, struct sk_buff *skb, u32 user) { -- 2.7.4