From: Andrew Stellman <bugs@stellman-greene.com>
To: Mahanta Jambigi <mjambigi@linux.ibm.com>,
"D. Wythe" <alibuda@linux.alibaba.com>,
Dust Li <dust.li@linux.alibaba.com>,
Sidraya Jayagond <sidraya@linux.ibm.com>
Cc: Tony Lu <tonylu@linux.alibaba.com>,
Wen Gu <guwen@linux.alibaba.com>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Simon Horman <horms@kernel.org>,
Willem de Bruijn <willemb@google.com>,
linux-rdma@vger.kernel.org, linux-s390@vger.kernel.org,
netdev@vger.kernel.org
Subject: Re: [PATCH net] net/smc: abort old connection when peer reuses RMB element
Date: Tue, 1 Dec 2026 08:33:14 -0500 [thread overview]
Message-ID: <20261201133314.21489-1-bugs@stellman-greene.com> (raw)
In-Reply-To: <de75d515-59fb-4be4-b523-3ac3d44ce62c@linux.ibm.com>
On Tue, Dec 01, 2026 at 02:09:51PM +0530, Mahanta Jambigi wrote:
> Can two handshakes deadlock here?
Thanks for the careful review. I agree with all of it, and I'd like to
withdraw this version.
A follow-up test on my side also found that a connection killed this
way keeps its send buffer and RMB marked as in use on the link group,
the leak Sashiko flagged. Together with the deadlock you describe and
the stall behind smc_client_lgr_pending, I don't have a safe small fix
for this version.
I'll wait for "net/smc: fix sock reference leak on abort_work cancel"
to land and then look at the asynchronous approach. When I send that,
I'll word the changelog around the duplicated element index rather
than the shared rtoken.
Andrew
prev parent reply other threads:[~2026-12-01 13:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-29 0:17 [PATCH net] net/smc: abort old connection when peer reuses RMB element Andrew Stellman
2026-12-01 8:39 ` Mahanta Jambigi
2026-12-01 13:33 ` Andrew Stellman [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=20261201133314.21489-1-bugs@stellman-greene.com \
--to=bugs@stellman-greene.com \
--cc=alibuda@linux.alibaba.com \
--cc=davem@davemloft.net \
--cc=dust.li@linux.alibaba.com \
--cc=edumazet@kernel.org \
--cc=guwen@linux.alibaba.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=mjambigi@linux.ibm.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=sidraya@linux.ibm.com \
--cc=tonylu@linux.alibaba.com \
--cc=willemb@google.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