[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <816b639f-5ce8-4eae-8eff-73eb2631f8be@redhat.com>
Date: Wed, 16 Apr 2025 12:00:44 +0200
From: Paolo Abeni <pabeni@...hat.com>
To: Kuniyuki Iwashima <kuniyu@...zon.com>,
"David S. Miller" <davem@...emloft.net>, David Ahern <dsahern@...nel.org>,
Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>
Cc: Simon Horman <horms@...nel.org>, Kuniyuki Iwashima <kuni1840@...il.com>,
netdev@...r.kernel.org
Subject: Re: [PATCH RESEND v2 net-next 11/14] ipv6: Protect fib6_link_table()
with spinlock.
On 4/14/25 8:14 PM, Kuniyuki Iwashima wrote:
> We will get rid of RTNL from RTM_NEWROUTE and SIOCADDRT.
>
> If the request specifies a new table ID, fib6_new_table() is
> called to create a new routing table.
>
> Two concurrent requests could specify the same table ID, so we
> need a lock to protect net->ipv6.fib_table_hash[h].
>
> Let's add a spinlock to protect the hash bucket linkage.
>
> Signed-off-by: Kuniyuki Iwashima <kuniyu@...zon.com>
Acked-by: Paolo Abeni <pabeni@...hat.com>
Powered by blists - more mailing lists