CC: [email protected]
CC: Intel Wired LAN <[email protected]>
CC: [email protected]
TO: Eric Dumazet <[email protected]>
CC: Jakub Kicinski <[email protected]>
CC: David Ahern <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue.git 
dev-queue
head:   f44ab3c99a0ec7a0654ad0e3951bf07f4bff9a61
commit: e66d117222047ea90f92e065f929bc0e0eec3647 [102/204] ipv6/addrconf: 
switch to per netns inet6_addr_lst hash table
:::::: branch date: 8 hours ago
:::::: commit date: 25 hours ago
config: x86_64-randconfig-m001 
(https://download.01.org/0day-ci/archive/20220210/[email protected]/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>

smatch warnings:
net/ipv6/addrconf.c:4303 if6_get_next() warn: ignoring unreachable code.

vim +4303 net/ipv6/addrconf.c

^1da177e4c3f41 Linus Torvalds    2005-04-16  4296  
c2e21293c05481 stephen hemminger 2010-03-17  4297  static struct inet6_ifaddr 
*if6_get_next(struct seq_file *seq,
c2e21293c05481 stephen hemminger 2010-03-17  4298                               
         struct inet6_ifaddr *ifa)
^1da177e4c3f41 Linus Torvalds    2005-04-16  4299  {
^1da177e4c3f41 Linus Torvalds    2005-04-16  4300       struct if6_iter_state 
*state = seq->private;
1218854afa6f65 YOSHIFUJI Hideaki 2008-03-26  4301       struct net *net = 
seq_file_net(seq);
^1da177e4c3f41 Linus Torvalds    2005-04-16  4302  
a5c1d98f8ccf43 Eric Dumazet      2017-10-23 @4303       
hlist_for_each_entry_continue_rcu(ifa, addr_lst) {
1d5783030a14d1 Mihai Maruseac    2012-01-03  4304               state->offset++;
c2e21293c05481 stephen hemminger 2010-03-17  4305               return ifa;
1d5783030a14d1 Mihai Maruseac    2012-01-03  4306       }
3c40090a0f5b69 Daniel Lezcano    2008-01-10  4307  
1d5783030a14d1 Mihai Maruseac    2012-01-03  4308       state->offset = 0;
86f9bd1ff61c41 Jeff Barnhill     2018-09-21  4309       while (++state->bucket 
< IN6_ADDR_HSIZE) {
a5c1d98f8ccf43 Eric Dumazet      2017-10-23  4310               
hlist_for_each_entry_rcu(ifa,
e66d117222047e Eric Dumazet      2022-02-07  4311                               
     &net->ipv6.inet6_addr_lst[state->bucket], addr_lst) {
c2e21293c05481 stephen hemminger 2010-03-17  4312                       return 
ifa;
c2e21293c05481 stephen hemminger 2010-03-17  4313               }
^1da177e4c3f41 Linus Torvalds    2005-04-16  4314       }
3c40090a0f5b69 Daniel Lezcano    2008-01-10  4315  
c2e21293c05481 stephen hemminger 2010-03-17  4316       return NULL;
^1da177e4c3f41 Linus Torvalds    2005-04-16  4317  }
^1da177e4c3f41 Linus Torvalds    2005-04-16  4318  

:::::: The code at line 4303 was first introduced by commit
:::::: a5c1d98f8ccf4359575772b36ed51f5857dd7165 ipv6: addrconf: do not block BH 
in /proc/net/if_inet6 handling

:::::: TO: Eric Dumazet <[email protected]>
:::::: CC: David S. Miller <[email protected]>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to