Hello:
This patch was applied to netdev/net.git (main) by Paolo Abeni pabeni@redhat.com:
On Fri, 24 May 2024 11:47:02 -0300 you wrote:
sk_psock_get will return NULL if the refcount of psock has gone to 0, which will happen when the last call of sk_psock_put is done. However, sk_psock_drop may not have finished yet, so the close callback will still point to sock_map_close despite psock being NULL.
This can be reproduced with a thread deleting an element from the sock map, while the second one creates a socket, adds it to the map and closes it.
[...]
Here is the summary with links: - [net,v2] sock_map: avoid race between sock_map_close and sk_psock_put https://git.kernel.org/netdev/net/c/4b4647add7d3
You are awesome, thank you!