From: Bob Pearson <rpearsonhpe@gmail.com>
To: "yangx.jy@fujitsu.com" <yangx.jy@fujitsu.com>,
Zhu Yanjun <zyjzyj2000@gmail.com>
Cc: "linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>
Subject: Re: null pointer in rxe_mr_copy()
Date: Tue, 24 May 2022 13:07:33 -0500 [thread overview]
Message-ID: <0ddfb667-87cb-47b0-539f-51a20125abf3@gmail.com> (raw)
In-Reply-To: <84888208-ac2e-115c-43d5-2ef211948c78@fujitsu.com>
On 5/24/22 08:18, yangx.jy@fujitsu.com 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@gmail.com>
> 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
next prev parent reply other threads:[~2022-05-24 18:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-11 3:34 null pointer in rxe_mr_copy() Bob Pearson
2022-04-11 5:14 ` Zhu Yanjun
2022-04-11 5:34 ` Zhu Yanjun
2022-04-11 16:25 ` Pearson, Robert B
2022-04-12 3:13 ` Bob Pearson
2022-04-12 10:04 ` Yanjun Zhu
2022-05-24 13:18 ` yangx.jy
2022-05-24 18:07 ` Bob Pearson [this message]
2022-05-24 23:56 ` Yanjun Zhu
2022-04-12 4:11 ` Bob Pearson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0ddfb667-87cb-47b0-539f-51a20125abf3@gmail.com \
--to=rpearsonhpe@gmail.com \
--cc=linux-rdma@vger.kernel.org \
--cc=yangx.jy@fujitsu.com \
--cc=zyjzyj2000@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox