]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ipv6: make in6_dump_addrs() lockless
authorEric Dumazet <edumazet@google.com>
Wed, 6 Mar 2024 15:51:42 +0000 (15:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Mar 2024 11:15:35 +0000 (11:15 +0000)
commit46f5182dd792c55940ca520576d1544744732b81
treefa56bda077703e9b4d55ac0a3694cd8254e4df83
parentf0a7da702093d5ff2c54ea18d6b47658be1b4522
ipv6: make in6_dump_addrs() lockless

in6_dump_addrs() is called with RCU protection.

There is no need holding idev->lock to iterate through unicast addresses.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c