[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <431ec831-259e-49a6-8b58-7da993332fb8@kernel.org>
Date: Tue, 26 Nov 2024 08:40:35 -0700
From: David Ahern <dsahern@...nel.org>
To: Paolo Abeni <pabeni@...hat.com>, netdev@...r.kernel.org
Cc: Eric Dumazet <edumazet@...gle.com>, "David S. Miller"
<davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Simon Horman <horms@...nel.org>, stefan.wiehler@...ia.com
Subject: Re: [PATCH v2 net 3/3] ipmr: fix tables suspicious RCU usage
On 11/24/24 8:40 AM, Paolo Abeni wrote:
> Similar to the previous patch, plumb the RCU lock inside
> the ipmr_get_table(), provided a lockless variant and apply
> the latter in the few spots were the lock is already held.
>
> Fixes: 709b46e8d90b ("net: Add compat ioctl support for the ipv4 multicast ioctl SIOCGETSGCNT")
> Fixes: f0ad0860d01e ("ipv4: ipmr: support multiple tables")
> Signed-off-by: Paolo Abeni <pabeni@...hat.com>
> ---
> net/ipv4/ipmr.c | 42 +++++++++++++++++++++++++++++-------------
> 1 file changed, 29 insertions(+), 13 deletions(-)
>
Reviewed-by: David Ahern <dsahern@...nel.org>
Powered by blists - more mailing lists