From: Leon Romanovsky <leon@kernel.org>
To: Jaeyeong Lee <lee@jaeyeong.cc>
Cc: linux-rdma@vger.kernel.org,
Tatyana Nikolova <tatyana.e.nikolova@intel.com>,
Jacob Moroni <jmoroni@google.com>, Jason Gunthorpe <jgg@ziepe.ca>
Subject: Re: [PATCH] RDMA/irdma: remove listeners before dropping their last reference
Date: Tue, 1 Dec 2026 21:06:18 +0200 [thread overview]
Message-ID: <20261201190618.GH31440@unreal> (raw)
In-Reply-To: <179583481252.4059565.5258024221855710290@jaeyeong.cc>
On Sat, Nov 28, 2026 at 03:00:18AM +0000, Jaeyeong Lee wrote:
> irdma_dec_refcnt_listen() can reduce a listener's reference count to
> zero before taking listen_list_lock and removing it from the lookup
> list. A concurrent lookup can find the zero-reference listener and
> attempt to acquire it during that window.
>
> Serialize the final decrement and list removal with listener lookup.
> Perform the remaining teardown after releasing the list lock.
>
> Fixes: 146b9756f14c ("RDMA/irdma: Add connection manager")
>
> Signed-off-by: Jaeyeong Lee <lee@jaeyeong.cc>
> ---
> This patch has not been tested on physical hardware. The reproducer validates the software lifetime ordering only.
I will have to drop this patch. It has no Acked-by from the maintainers, does
not follow the coding rules, and we cannot assume that an AI's hallucination
about how the hardware works is correct.
Thanks
prev parent reply other threads:[~2026-12-01 19:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-28 3:00 [PATCH] RDMA/irdma: remove listeners before dropping their last reference Jaeyeong Lee
2026-11-28 3:10 ` sashiko-bot
2026-12-01 19:06 ` 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=20261201190618.GH31440@unreal \
--to=leon@kernel.org \
--cc=jgg@ziepe.ca \
--cc=jmoroni@google.com \
--cc=lee@jaeyeong.cc \
--cc=linux-rdma@vger.kernel.org \
--cc=tatyana.e.nikolova@intel.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.