lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 26 May 2022 21:20:37 +0800 From: kernel test robot <lkp@...el.com> To: Vladimir Oltean <vladimir.oltean@....com> Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org, 0day robot <lkp@...el.com> Subject: include/linux/netdevice.h:2339:16: error: 'const struct sk_buff' has no member named 'use_ipv' tree: https://github.com/intel-lab-lkp/linux/commits/UPDATE-20220526-173254/Vladimir-Oltean/selftests-forwarding-add-Per-Stream-Filtering-and-Policing-test-for-Ocelot/20220501-193132 head: 32b52188919f424bfabe1d3c0921ff854fb7f4ee commit: 32b52188919f424bfabe1d3c0921ff854fb7f4ee selftests: forwarding: add Per-Stream Filtering and Policing test for Ocelot date: 4 hours ago config: mips-allmodconfig (https://download.01.org/0day-ci/archive/20220526/202205262147.gC3FSeHN-lkp@intel.com/config) compiler: mips-linux-gcc (GCC) 11.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/32b52188919f424bfabe1d3c0921ff854fb7f4ee git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review UPDATE-20220526-173254/Vladimir-Oltean/selftests-forwarding-add-Per-Stream-Filtering-and-Policing-test-for-Ocelot/20220501-193132 git checkout 32b52188919f424bfabe1d3c0921ff854fb7f4ee # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash drivers/net/wireless/st/cw1200/ net/sched/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <lkp@...el.com> All errors (new ones prefixed by >>): In file included from include/linux/rtnetlink.h:7, from net/sched/act_police.c:15: include/linux/netdevice.h: In function 'skb_get_prio_tc_map': >> include/linux/netdevice.h:2339:16: error: 'const struct sk_buff' has no member named 'use_ipv' 2339 | if (skb->use_ipv) | ^~ >> include/linux/netdevice.h:2340:27: error: 'const struct sk_buff' has no member named 'ipv' 2340 | prio = skb->ipv; | ^~ -- In file included from include/linux/rtnetlink.h:7, from net/sched/act_gate.c:10: include/linux/netdevice.h: In function 'skb_get_prio_tc_map': >> include/linux/netdevice.h:2339:16: error: 'const struct sk_buff' has no member named 'use_ipv' 2339 | if (skb->use_ipv) | ^~ >> include/linux/netdevice.h:2340:27: error: 'const struct sk_buff' has no member named 'ipv' 2340 | prio = skb->ipv; | ^~ net/sched/act_gate.c: In function 'tcf_gate_act': >> net/sched/act_gate.c:145:20: error: 'struct sk_buff' has no member named 'use_ipv' 145 | skb->use_ipv = true; | ^~ >> net/sched/act_gate.c:146:20: error: 'struct sk_buff' has no member named 'ipv' 146 | skb->ipv = gact->current_ipv; | ^~ vim +2339 include/linux/netdevice.h 2332 2333 static inline int skb_get_prio_tc_map(const struct sk_buff *skb, 2334 const struct net_device *dev) 2335 { 2336 __u32 prio = skb->priority; 2337 2338 #if IS_ENABLED(CONFIG_NET_ACT_GATE) > 2339 if (skb->use_ipv) > 2340 prio = skb->ipv; 2341 #endif 2342 2343 return netdev_get_prio_tc_map(dev, prio); 2344 } 2345 -- 0-DAY CI Kernel Test Service https://01.org/lkp
Powered by blists - more mailing lists