Re: [PATCH v5 for-next 1/2] RDMA/rxe: Set pd early in mr alloc routines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



BTW: this patch should be for-rc instead.


On 22/08/2022 13:46, lizhijian@xxxxxxxxxxx wrote:
Bob,

Sorry for the late reply. Just back to office from a vacation :)

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 seg faults when rxe_put(mr_pd(mr))
is called.

Signed-off-by: Bob Pearson <rpearsonhpe@xxxxxxxxx>
Looks good to me
Reviewed-by: Li Zhijian <lizhijian@xxxxxxxxxxx>





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux