From: Leon Romanovsky <leonro@xxxxxxxxxxxx> Hi, This is combination of fixes and refactoring in MAD layer. Because everything here is "old", I'm sending it to rdma-next and not "wasting" our time in attempt to separate fix patches from refactoring ones. Thanks Shay Drory (4): IB/mad: Fix use after free when destroying MAD agent IB/mad: Issue complete whenever decrements agent refcount IB/mad: Refactor atomics API to refcount API IB/mad: Delete RMPP_STATE_CANCELING state drivers/infiniband/core/mad.c | 32 +++++++++++++++--------------- drivers/infiniband/core/mad_priv.h | 2 +- drivers/infiniband/core/mad_rmpp.c | 27 +++++++++---------------- 3 files changed, 26 insertions(+), 35 deletions(-) -- 2.26.2