The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH 6.1 0/3] RDMA/rxe: correct cleanup-task backport and timer cleanup
@ 2026-06-05 17:03 Vladislav Nikolaev
  2026-06-05 17:03 ` [PATCH 6.1 1/3] Revert "RDMA/rxe: Fix the error "trying to register non-static key in rxe_cleanup_task"" Vladislav Nikolaev
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Vladislav Nikolaev @ 2026-06-05 17:03 UTC (permalink / raw)
  To: stable, Greg Kroah-Hartman
  Cc: Vladislav Nikolaev, Zhu Yanjun, Doug Ledford, Jason Gunthorpe,
	Haggai Eran, Kamal Heib, Amir Vadai, Moni Shoua, Yonatan Cohen,
	Leon Romanovsky, linux-rdma, linux-kernel, Zhu Yanjun,
	lvc-project

The linux-6.1.y tree contains commit 3236221bb8e4 ("RDMA/rxe: Fix the
error "trying to register non-static key in rxe_cleanup_task""), which is
an incomplete backport of upstream commit b2b1ddc45745 ("RDMA/rxe: Fix
the error "trying to register non-static key in rxe_cleanup_task"").

The stable backport added guards for req.task and comp.task, but missed
the resp.task guard and also left rxe_cleanup_task(&qp->resp.task) above
the RC timer cleanup.  The upstream fix checks all three tasks and keeps
resp.task cleanup after the timer cleanup.

This series first reverts the incomplete stable backport, then applies the
correct backport, and finally backports commit 1c7eec4d5f3b ("RDMA/rxe:
Fix "trying to register non-static key in rxe_qp_do_cleanup" bug") to
avoid deleting uninitialized RC timers during QP cleanup.  The last patch
keeps del_timer_sync(), because linux-6.1.y has not renamed it to
timer_delete_sync() yet.

Vladislav Nikolaev (1):
  Revert "RDMA/rxe: Fix the error "trying to register non-static key in
    rxe_cleanup_task""

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 | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

-- 
2.43.0

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-06-16 13:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-05 17:03 [PATCH 6.1 0/3] RDMA/rxe: correct cleanup-task backport and timer cleanup Vladislav Nikolaev
2026-06-05 17:03 ` [PATCH 6.1 1/3] Revert "RDMA/rxe: Fix the error "trying to register non-static key in rxe_cleanup_task"" Vladislav Nikolaev
2026-06-16 13:39   ` Greg Kroah-Hartman
2026-06-05 17:03 ` [PATCH 6.1 2/3] RDMA/rxe: Fix the error "trying to register non-static key in rxe_cleanup_task" Vladislav Nikolaev
2026-06-05 17:03 ` [PATCH 6.1 3/3] RDMA/rxe: Fix "trying to register non-static key in rxe_qp_do_cleanup" bug Vladislav Nikolaev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox