From: Leon Romanovsky <leon@kernel.org>
To: Zhu Yanjun <yanjun.zhu@linux.dev>, Zhiwei Zhang <202275009@qq.com>
Cc: Jason Gunthorpe <jgg@ziepe.ca>,
linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] RDMA/rxe: Clear pkt->qp before the early drop exits in rxe_rcv()
Date: Sun, 18 Oct 2026 08:28:35 -0400 [thread overview]
Message-ID: <179232651585.22051.2025466489740178827.b4-ty@kernel.org> (raw)
In-Reply-To: <tencent_FBB0EE9F592FD21FD4B0F3BFAD3336765209@qq.com>
On Sat, 17 Oct 2026 09:40:21 +0800, Zhiwei Zhang wrote:
> rxe_rcv() puts pkt->qp at its drop label, but leaves pkt->qp
> uninitialized on the two paths that take an early goto:
>
> if (unlikely(skb->len < RXE_BTH_BYTES))
> goto drop;
>
> if (rxe_chk_dgid(rxe, skb) < 0)
> goto drop;
>
> [...]
Applied, thanks!
[1/1] RDMA/rxe: Clear pkt->qp before the early drop exits in rxe_rcv()
https://git.kernel.org/rdma/rdma/c/7d7214b39b14c9
Best regards,
--
Leon Romanovsky <leon@kernel.org>
prev parent reply other threads:[~2026-10-18 12:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20261016020835.41630-1-202275009@qq.com>
2026-10-17 1:40 ` Zhiwei Zhang
2026-10-18 12:28 ` Leon Romanovsky [this message]
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=179232651585.22051.2025466489740178827.b4-ty@kernel.org \
--to=leon@kernel.org \
--cc=202275009@qq.com \
--cc=jgg@ziepe.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=yanjun.zhu@linux.dev \
/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
all inboxes | Powered by JetHome®