Thread (6 messages) 6 messages, 4 authors, 2025-12-21

Re: [PATCH] RDMA/rxe: let rxe_reclassify_recv_socket() call sk_owner_put()

From: Leon Romanovsky <leon@kernel.org>
Date: 2025-12-21 10:29:24
Also in: linux-cifs, linux-rdma

On Fri, 19 Dec 2025 15:04:08 +0100, Stefan Metzmacher wrote:
On kernels build with CONFIG_PROVE_LOCKING, CONFIG_MODULES
and CONFIG_DEBUG_LOCK_ALLOC 'rmmod rdma_rxe' is no longer
possible.

For the global recv sockets rxe_net_exit() is where we
call rxe_release_udp_tunnel-> udp_tunnel_sock_release(),
which means the sockets are destroyed before 'rmmod rdma_rxe'
finishes, so there's no need to protect against
rxe_recv_slock_key and rxe_recv_sk_key disappearing
while the sockets are still alive.

[...]
Applied, thanks!

[1/1] RDMA/rxe: let rxe_reclassify_recv_socket() call sk_owner_put()
      https://git.kernel.org/rdma/rdma/c/de41cbc64d02ae

Best regards,
-- 
Leon Romanovsky [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help