On Thu, 13 Apr 2023 18:11:15 +0800, Zhu Yanjun wrote: > In the function rxe_create_qp(), rxe_qp_from_init() is called to > initialize qp, internally things like rxe_init_task are not setup until > rxe_qp_init_req(). > > If an error occures before this point then the unwind will call > rxe_cleanup() and eventually to rxe_qp_do_cleanup()/rxe_cleanup_task() > which will oops when trying to access the uninitialized spinlock. > > [...] Applied, thanks! [1/1] RDMA/rxe: Fix the error "trying to register non-static key in rxe_cleanup_task" https://git.kernel.org/rdma/rdma/c/b2b1ddc457458f Best regards, -- Leon Romanovsky <leon@xxxxxxxxxx>