All of lore.kernel.org
 help / color / mirror / Atom feed
From: Li Zhijian <lizhijian@fujitsu.com>
To: Bob Pearson <rpearsonhpe@gmail.com>,
	"jgg@nvidia.com" <jgg@nvidia.com>,
	"zyjzyj2000@gmail.com" <zyjzyj2000@gmail.com>,
	"jhack@hpe.com" <jhack@hpe.com>,
	"linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>
Subject: Re: [PATCH v5 for-next 1/2] RDMA/rxe: Set pd early in mr alloc routines
Date: Wed, 31 Aug 2022 13:48:08 +0800	[thread overview]
Message-ID: <fa1fb86c-fd1c-d431-954b-98540299bf4a@fujitsu.com> (raw)
In-Reply-To: <TYCPR01MB93059478A187A821F8F8469AA5719@TYCPR01MB9305.jpnprd01.prod.outlook.com>

BTW: this patch should be for-rc instead.


On 22/08/2022 13:46, lizhijian@fujitsu.com 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@gmail.com>
> Looks good to me
> Reviewed-by: Li Zhijian <lizhijian@fujitsu.com>
>


  reply	other threads:[~2022-08-31  5:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-05 18:35 [PATCH v5 for-next 1/2] RDMA/rxe: Set pd early in mr alloc routines Bob Pearson
2022-08-22  5:46 ` lizhijian
2022-08-31  5:48   ` Li Zhijian [this message]
2022-08-31  6:26     ` Leon Romanovsky
2022-08-31  8:05       ` Li Zhijian
2022-08-31  8:46         ` Leon Romanovsky
2022-08-31  6:31 ` Leon Romanovsky

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=fa1fb86c-fd1c-d431-954b-98540299bf4a@fujitsu.com \
    --to=lizhijian@fujitsu.com \
    --cc=jgg@nvidia.com \
    --cc=jhack@hpe.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.