[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Za6lEehyxGkwlWD3@debian>
Date: Mon, 22 Jan 2024 18:25:37 +0100
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>,
David Ahern <dsahern@...nel.org>,
Kuniyuki Iwashima <kuniyu@...zon.com>,
Martin KaFai Lau <kafai@...com>, netdev@...r.kernel.org,
eric.dumazet@...il.com
Subject: Re: [PATCH net-next 7/9] sock_diag: allow concurrent operation in
sock_diag_rcv_msg()
On Mon, Jan 22, 2024 at 11:26:01AM +0000, Eric Dumazet wrote:
> TCPDIAG_GETSOCK and DCCPDIAG_GETSOCK diag are serialized
> on sock_diag_table_mutex.
>
> This is to make sure inet_diag module is not unloaded
> while diag was ongoing.
>
> It is time to get rid of this mutex and use RCU protection,
> allowing full parallelism.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Reviewed-by: Guillaume Nault <gnault@...hat.com>
Powered by blists - more mailing lists