This is a set of two patches that prevent kernel panics seen when tearing down QPs. The second patch (holding refs in tasklets) might or might not be needed once the first patch (waiting for tasklets to finish) is applied. Feedback welcomed. Update for v2: - Remove default initialization of idle in rxe_cleanup_task() per review Andrew Boyer (2): IB/rxe: Wait for tasklets to finish before tearing down QP IB/rxe: Hold refs when running tasklets drivers/infiniband/sw/rxe/rxe_comp.c | 4 ++++ drivers/infiniband/sw/rxe/rxe_req.c | 4 ++++ drivers/infiniband/sw/rxe/rxe_resp.c | 3 +++ drivers/infiniband/sw/rxe/rxe_task.c | 19 +++++++++++++++++++ drivers/infiniband/sw/rxe/rxe_task.h | 1 + 5 files changed, 31 insertions(+) -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html