On Fri, Aug 05, 2022 at 01:31:54PM -0500, Bob Pearson wrote: > Move setting of pd in mr objects ahead of any possible errors > so that it will always be set in rxe_mr_complete() to avoid This means to say rxe_mr_cleanup() > seg faults when rxe_put(mr_pd(mr)) is called. > > Signed-off-by: Bob Pearson <rpearsonhpe@xxxxxxxxx> > --- > drivers/infiniband/sw/rxe/rxe_loc.h | 6 +++--- > drivers/infiniband/sw/rxe/rxe_mr.c | 11 ++++------- > drivers/infiniband/sw/rxe/rxe_verbs.c | 10 +++++++--- > 3 files changed, 14 insertions(+), 13 deletions(-) Applied to for-next I dropped the next patch since it is a NOP due to the protection in ib_umem_release() Thanks, Jason