[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240122225105.20980-1-kuniyu@amazon.com>
Date: Mon, 22 Jan 2024 14:51:05 -0800
From: Kuniyuki Iwashima <kuniyu@...zon.com>
To: <edumazet@...gle.com>
CC: <davem@...emloft.net>, <dsahern@...nel.org>, <eric.dumazet@...il.com>,
<gnault@...hat.com>, <kafai@...com>, <kuba@...nel.org>, <kuniyu@...zon.com>,
<netdev@...r.kernel.org>, <pabeni@...hat.com>
Subject: [PATCH net-next 7/9] sock_diag: allow concurrent operation in sock_diag_rcv_msg()
From: Eric Dumazet <edumazet@...gle.com>
Date: Mon, 22 Jan 2024 11:26:01 +0000
> 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: Kuniyuki Iwashima <kuniyu@...zon.com>
Powered by blists - more mailing lists