[PATCH v2 0/2] RDMA/rxe: Fix per-netns UDP tunnel issues.

Kuniyuki Iwashima
2026-04-25T06:04:40Z

Patch 1 fixes racy allocation/destruction of per-netns UDP
tunnel sockets.

Patch 2 fixes unsafe access to the socket in rxe_find_route6().

Changes:
v2:
Patch 1: Set up UDP tunnels in __net_init instead of adding mutex.

v1: https://lore.kernel.org/all/20260424013759.728288-1-kuniyu@google.com/

Kuniyuki Iwashima (2):
RDMA/rxe: Fix null-ptr-deref in kernel_sock_shutdown().
RDMA/rxe: Fix up RCU usage for rxe_ns_pernet_sk6().

drivers/infiniband/sw/rxe/rxe.c | 6 --
drivers/infiniband/sw/rxe/rxe_net.c | 137 +++-------------------------
drivers/infiniband/sw/rxe/rxe_net.h | 5 +-
drivers/infiniband/sw/rxe/rxe_ns.c | 97 ++++++++------------
drivers/infiniband/sw/rxe/rxe_ns.h | 1 -
5 files changed, 56 insertions(+), 190 deletions(-)

--
2.54.0.rc2.544.gc7ae2d5bb8-goog