From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbuild test robot Subject: [RFC PATCH] xdp: xdp_do_redirect_slow() can be static Date: Tue, 4 Sep 2018 23:39:21 +0800 Message-ID: <20180904153921.GY17047@intel.com> References: <153572917749.27338.853717648840898807.stgit@firesoul> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kbuild-all@01.org, netdev@vger.kernel.org, Daniel Borkmann , Alexei Starovoitov , Jesper Dangaard Brouer To: Jesper Dangaard Brouer Return-path: Received: from mga17.intel.com ([192.55.52.151]:44325 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726304AbeIDTwW (ORCPT ); Tue, 4 Sep 2018 15:52:22 -0400 Content-Disposition: inline In-Reply-To: <153572917749.27338.853717648840898807.stgit@firesoul> Sender: netdev-owner@vger.kernel.org List-ID: Fixes: 974efdb08a35 ("xdp: split code for map vs non-map redirect") Signed-off-by: kbuild test robot --- filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/filter.c b/net/core/filter.c index 45ea00b..95454f3 100644 --- a/net/core/filter.c +++ b/net/core/filter.c @@ -3171,7 +3171,7 @@ static int __bpf_tx_xdp(struct net_device *dev, } /* non-static to avoid inline by compiler */ -int xdp_do_redirect_slow(struct net_device *dev, struct xdp_buff *xdp, +static int xdp_do_redirect_slow(struct net_device *dev, struct xdp_buff *xdp, struct bpf_prog *xdp_prog, struct bpf_redirect_info *ri) { struct net_device *fwd;