[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <m2zfvrp5i5.fsf@gmail.com>
Date: Fri, 23 Feb 2024 15:25:22 +0000
From: Donald Hunter <donald.hunter@...il.com>
To: Eric Dumazet <edumazet@...gle.com>
Cc: "David S . Miller" <davem@...emloft.net>, Jakub Kicinski
<kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
netdev@...r.kernel.org, Ido Schimmel <idosch@...dia.com>, Jiri Pirko
<jiri@...dia.com>, eric.dumazet@...il.com
Subject: Re: [PATCH v2 net-next 12/14] inet: switch inet_dump_fib() to RCU
protection
Eric Dumazet <edumazet@...gle.com> writes:
> No longer hold RTNL while calling inet_dump_fib().
>
> Also change return value for a completed dump:
>
> Returning 0 instead of skb->len allows NLMSG_DONE
> to be appended to the skb. User space does not have
> to call us again to get a standalone NLMSG_DONE marker.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Reviewed-by: Donald Hunter <donald.hunter@...il.com>
Powered by blists - more mailing lists