Skip to content

Backport RDMA/rxe task and timer cleanup fixes

Vladislav Nikolaev linux-rdma lkml stable 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesIn review
  2. v21 patch 5 repliesSuperseded
  3. v11 patch 2 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2RDMA/rxe: Fix the error "trying to register non-static key in rxe_cleanup_task"drivers/infiniband/sw/rxe/rxe_qp.c+8 -31 reply
2/2RDMA/rxe: Fix "trying to register non-static key in rxe_qp_do_cleanup" bugdrivers/infiniband/sw/rxe/rxe_qp.c+6 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 5.10/5.15 0/2] Backport RDMA/rxe task and timer cleanup fixes

This series backports two upstream RDMA/rxe fixes to linux-5.10.y and linux-5.15.y.

The first patch fixes cleanup of RXE tasks that may not have been initialized on the rxe_create_qp() error path. The second patch fixes the same class of lockdep issue for RC timers by checking that both timers were initialized before deleting them.

In linux-5.10.y and linux-5.15.y the relevant task and timer cleanup still lives in rxe_qp_destroy(), so the 1c7eec4d5f3b backport applies the timer guard there and keeps del_timer_sync().

Zhu Yanjun (2):
RDMA/rxe: Fix the error "trying to register non-static key in
rxe_cleanup_task"
RDMA/rxe: Fix "trying to register non-static key in rxe_qp_do_cleanup"
bug

 drivers/infiniband/sw/rxe/rxe_qp.c | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)
Signature · 1 line
2.39.5