summaryrefslogtreecommitdiff
path: root/net/ipv6/ping.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2024-02-22 10:50:11 +0000
committerDavid S. Miller <davem@davemloft.net>2024-02-26 11:46:12 +0000
commitac14ad9755d4f8f286fd2cd710aa5dcf9a3c777a (patch)
tree0bbaee7ad9b3244463563f6d3bdd794c96a9e12b /net/ipv6/ping.c
parent8afc7a78d55de726b2747d7775c54def79509ec5 (diff)
ipv6: use xarray iterator to implement inet6_dump_ifinfo()
Prepare inet6_dump_ifinfo() to run with RCU protection instead of RTNL and use for_each_netdev_dump() interface. Also properly return 0 at the end of a dump, avoiding an extra recvmsg() system call and RTNL acquisition. Note that RTNL-less dumps need core changes, coming later in the series. Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Donald Hunter <donald.hunter@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ping.c')
0 files changed, 0 insertions, 0 deletions