[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zh+mX5YQyJMzddn7@debian>
Date: Wed, 17 Apr 2024 12:37:19 +0200
From: Guillaume Nault <gnault@...hat.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, eric.dumazet@...il.com
Subject: Re: [PATCH net-next] netns: no longer hold RTNL in rtnl_net_dumpid()
On Tue, Apr 16, 2024 at 02:07:39PM +0000, Eric Dumazet wrote:
> - rtnl_net_dumpid() is already fully RCU protected,
> RTNL is not needed there.
>
> - Fix return value at the end of a dump,
> so that NLMSG_DONE can be appended to current skb,
> saving one recvmsg() system call.
Reviewed-by: Guillaume Nault <gnault@...hat.com>
Powered by blists - more mailing lists