[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4a292f3c-a780-4e3b-825d-107e7e20e2bb@kernel.org>
Date: Thu, 11 Apr 2024 09:39:54 -0600
From: David Ahern <dsahern@...nel.org>
To: Eric Dumazet <edumazet@...gle.com>, "David S . Miller"
<davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH net-next] fib: rules: no longer hold RTNL in
fib_nl_dumprule()
On 4/11/24 7:33 AM, Eric Dumazet wrote:
> - fib rules are already RCU protected, RTNL is not needed
> to get them.
>
> - Fix return value at the end of a dump,
> so that NLMSG_DONE can be appended to current skb,
> saving one recvmsg() system call.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> ---
> net/core/fib_rules.c | 17 +++++++++--------
> 1 file changed, 9 insertions(+), 8 deletions(-)
>
Reviewed-by: David Ahern <dsahern@...nel.org>
Powered by blists - more mailing lists