Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
From: "yangx.jy@fujitsu.com" <yangx.jy@fujitsu.com>
To: Zhu Yanjun <zyjzyj2000@gmail.com>, Bob Pearson <rpearsonhpe@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:18:57 +0000	[thread overview]
Message-ID: <84888208-ac2e-115c-43d5-2ef211948c78@fujitsu.com> (raw)
In-Reply-To: <CAD=hENet+KQe35eqXabM+EpucHh3mYypUo4H8S-XmwNPcOv4+A@mail.gmail.com>

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

  parent reply	other threads:[~2022-05-24 13:19 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 [this message]
2022-05-24 18:07       ` Bob Pearson
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=84888208-ac2e-115c-43d5-2ef211948c78@fujitsu.com \
    --to=yangx.jy@fujitsu.com \
    --cc=linux-rdma@vger.kernel.org \
    --cc=rpearsonhpe@gmail.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