[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202304150811.bzx9niRq-lkp@intel.com>
Date: Sat, 15 Apr 2023 09:04:04 +0800
From: kernel test robot <lkp@...el.com>
To: Daniel Borkmann <daniel@...earbox.net>,
Toke Høiland-Jørgensen <toke@...hat.com>,
Yafang Shao <laoar.shao@...il.com>, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
ast@...nel.org, hawk@...nel.org, john.fastabend@...il.com
Cc: oe-kbuild-all@...ts.linux.dev, netdev@...r.kernel.org,
bpf@...r.kernel.org, Jesper Dangaard Brouer <brouer@...hat.com>,
Tonghao Zhang <xiangxia.m.yue@...il.com>, martin.lau@...ux.dev
Subject: Re: [PATCH bpf-next] bpf: Set skb redirect and from_ingress info in
__bpf_tx_skb
Hi Daniel,
kernel test robot noticed the following build errors:
[auto build test ERROR on bpf-next/master]
url: https://github.com/intel-lab-lkp/linux/commits/Daniel-Borkmann/bpf-Set-skb-redirect-and-from_ingress-info-in-__bpf_tx_skb/20230415-065912
base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
patch link: https://lore.kernel.org/r/c68bf723-3406-d177-49b4-6d5b485048de%40iogearbox.net
patch subject: [PATCH bpf-next] bpf: Set skb redirect and from_ingress info in __bpf_tx_skb
config: x86_64-randconfig-a014-20230410 (https://download.01.org/0day-ci/archive/20230415/202304150811.bzx9niRq-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
# https://github.com/intel-lab-lkp/linux/commit/91c0d1d0b071c23d95bf9747b89daf5ae378ad1a
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Daniel-Borkmann/bpf-Set-skb-redirect-and-from_ingress-info-in-__bpf_tx_skb/20230415-065912
git checkout 91c0d1d0b071c23d95bf9747b89daf5ae378ad1a
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 olddefconfig
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash net/core/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304150811.bzx9niRq-lkp@intel.com/
All errors (new ones prefixed by >>):
net/core/filter.c: In function '__bpf_tx_skb':
>> net/core/filter.c:2125:44: error: 'struct sk_buff' has no member named 'tc_at_ingress'
2125 | skb_set_redirected_noclear(skb, skb->tc_at_ingress);
| ^~
vim +2125 net/core/filter.c
2113
2114 static inline int __bpf_tx_skb(struct net_device *dev, struct sk_buff *skb)
2115 {
2116 int ret;
2117
2118 if (dev_xmit_recursion()) {
2119 net_crit_ratelimited("bpf: recursion limit reached on datapath, buggy bpf program?\n");
2120 kfree_skb(skb);
2121 return -ENETDOWN;
2122 }
2123
2124 skb->dev = dev;
> 2125 skb_set_redirected_noclear(skb, skb->tc_at_ingress);
2126 skb_clear_tstamp(skb);
2127
2128 dev_xmit_recursion_inc();
2129 ret = dev_queue_xmit(skb);
2130 dev_xmit_recursion_dec();
2131
2132 return ret;
2133 }
2134
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
Powered by blists - more mailing lists