Subject: Re: [PATCH v2 net-next 04/14] ipv6: use xarray iterator to implement inet6_dump_ifinfo()

From: Donald Hunter <[email-masked]>
Date: Fri, 23 Feb 2024 14:42:13 +0000

Eric Dumazet <[email-masked]> writes:

> 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 <[email-masked]>
> Reviewed-by: Ido Schimmel <[email-masked]>

Nice to see cleaner code with for_each_netdev_dump().

Reviewed-by: Donald Hunter <[email-masked]>