Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp786141imm; Mon, 21 May 2018 14:25:38 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrkndmBrK/ZJEkP60PqnrrObNH+tZFrpzTIXTF9pEKXieAwOLj8/fzLAW+gCnUdwuyZMfcA X-Received: by 2002:a17:902:3c5:: with SMTP id d63-v6mr21647084pld.163.1526937938075; Mon, 21 May 2018 14:25:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526937938; cv=none; d=google.com; s=arc-20160816; b=z60tcvTh5+yV1YWLCjfGyp7fBRP1cHzofnPKt3yuJEcv027cYCaqOGSJW4wRwOCYyA 9QCrRic6aZNN+NlsIup36xc8GI7tinkxZaTlGqaxqIe4TUG1ye5OMON3s8uvAZkTKUFH JnWRGa4N5Y+BTZkjUJvwJX8JoGY04phoaPjn0dnppdG1N6T/5X5nRtDPfJrPf7X3MYzd CjX5A4h1Yo6IJYqxbqcMqzG7gkXdzSQ5Ox1v3IIIuvq4/xWSdxo2v0qKz1EzRHj93sYA qz/nPQiegS6mcFsyufvTNyTbp1+AEAUz7/MugeWrLkcV7f80KUvVGPl4GaXIveivoBlk TVCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=BA6ifrJ0wEs+oCkQ9QWJuOrry4ZK8uITY/7TTvRRBLk=; b=qPZRbk3DEtULnQFqZvOTzMxkMN7MAbwVRlxJnlHI7Xu7y/frXC5nt+qOG3nX9sI29h 4pRowmnHN/r3ySWN9BNVRp6IkVqj+7KcPr3zCaa6ilxXdfuLYUoYBfnBtbYjeKjlefmh y38WXQh/eYwzTg6vqq+XTIC9/3RYUqfBTqIW9ItpGc8RtE1BiJFBoG7JSZfRDFAj51LZ nQb7mj3xC/j/LVqKZ4MmULjczji4PtJi8vPxkzP2/vMBUr6lsv6tp7BNWCpuuuFFtNdM XQO8onZs8DRyZi0+cFCpOhwLIN6jbwXyEeB5WhOCMzKkD4DSkk6C0h327Xam3q4KnkYq zwJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hDWyVnaD; 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 d124-v6si15057385pfc.176.2018.05.21.14.25.23; Mon, 21 May 2018 14:25:38 -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; dkim=pass header.i=@kernel.org header.s=default header.b=hDWyVnaD; 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 S932392AbeEUVZO (ORCPT + 99 others); Mon, 21 May 2018 17:25:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:40048 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932166AbeEUVZK (ORCPT ); Mon, 21 May 2018 17:25:10 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C5FDA2075C; Mon, 21 May 2018 21:25:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1526937910; bh=TlAfQStrPagnPuyTK0n3iuxEvjY0n+qL8rnNB+g/GIw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hDWyVnaDD0uBDIvlUqO9gRmHtk2ybZ0XOCZVEnl0XJGFkMOf1vjTUtD3G4plh0vhO 9UQk/8WqAWAdhYh0wps2ihiAbko4j3edDmUXkTGMh2Jv8BS6sbwu+dU3qNiwjo4gzv Bx+snCNiIv48Klr1NpoouMOT2q9g9wpM9emFPOFg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Fengguang Wu , Pablo Neira Ayuso Subject: [PATCH 4.16 028/110] netfilter: nf_tables: nf_tables_obj_lookup_byhandle() can be static Date: Mon, 21 May 2018 23:11:25 +0200 Message-Id: <20180521210506.302731397@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180521210503.823249477@linuxfoundation.org> References: <20180521210503.823249477@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.16-stable review patch. If anyone has any objections, please let me know. ------------------ From: kbuild test robot commit ae0662f84b105776734cb089703a7bf834bac195 upstream. Fixes: 3ecbfd65f50e ("netfilter: nf_tables: allocate handle and delete objects via handle") Signed-off-by: Fengguang Wu Signed-off-by: Pablo Neira Ayuso Signed-off-by: Greg Kroah-Hartman --- net/netfilter/nf_tables_api.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --- a/net/netfilter/nf_tables_api.c +++ b/net/netfilter/nf_tables_api.c @@ -4399,9 +4399,9 @@ struct nft_object *nf_tables_obj_lookup( } EXPORT_SYMBOL_GPL(nf_tables_obj_lookup); -struct nft_object *nf_tables_obj_lookup_byhandle(const struct nft_table *table, - const struct nlattr *nla, - u32 objtype, u8 genmask) +static struct nft_object *nf_tables_obj_lookup_byhandle(const struct nft_table *table, + const struct nlattr *nla, + u32 objtype, u8 genmask) { struct nft_object *obj; @@ -4921,7 +4921,7 @@ struct nft_flowtable *nf_tables_flowtabl } EXPORT_SYMBOL_GPL(nf_tables_flowtable_lookup); -struct nft_flowtable * +static struct nft_flowtable * nf_tables_flowtable_lookup_byhandle(const struct nft_table *table, const struct nlattr *nla, u8 genmask) {