Re: null pointer in rxe_mr_copy()

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

 



On 5/24/22 08:18, yangx.jy@xxxxxxxxxxx wrote:
> On 2022/4/11 13:34, Zhu Yanjun wrote:
>>   738         if (res->state == rdatm_res_state_new) {
>>   739                 mr = qp->resp.mr;
>> <----It seems that mr is from here.
>>   740                 qp->resp.mr = NULL;
>>   741
> 
> Hi Bob and Yanjun
> 
> I wonder if the following patch has fixed the null pointer issue in 
> rxe_mr_copy().
> 
> commit 570a4bf7440e9fb2a4164244a6bf60a46362b627
> Author: Bob Pearson <rpearsonhpe@xxxxxxxxx>
> Date:   Mon Apr 18 12:41:04 2022 -0500
> 
>      RDMA/rxe: Recheck the MR in when generating a READ reply
> 
> Best Regards,
> Xiao Yang

Correct.

Bob



[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