From: Leon Romanovsky <leon@kernel.org>
To: Jason Gunthorpe <jgg@ziepe.ca>, Roland Dreier <rolandd@cisco.com>,
Edward Srouji <edwards@nvidia.com>
Cc: linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org,
Carolina Jubran <cjubran@nvidia.com>,
John Popplewell <john.popplewell@nmc2.ai>,
Cosmin Ratiu <cratiu@nvidia.com>
Subject: Re: [PATCH rdma-next] IB/IPoIB: Cancel normal flush work on device stop
Date: Thu, 15 Oct 2026 05:04:33 -0400 [thread overview]
Message-ID: <179205507348.3945842.17418999970026945894.b4-ty@kernel.org> (raw)
In-Reply-To: <20261014-ipoib-cancel-work-v1-1-6c0faac016b8@nvidia.com>
On Wed, 14 Oct 2026 13:47:04 +0300, Edward Srouji wrote:
> ipoib_ib_dev_flush_normal() can race with ipoib_stop() because the normal
> flush work does not run under RTNL.
>
> Before commit a77a57a1a22a ("IPoIB: Fix deadlock on RTNL in
> ipoib_stop()"), ipoib_stop() flushed ipoib_workqueue after clearing
> IPOIB_FLAG_ADMIN_UP and before calling ipoib_ib_dev_down(). This ensured
> that any in-flight flush work completed before ipoib_ib_dev_down()
> performed the final clear of IPOIB_FLAG_OPER_UP.
>
> [...]
Applied, thanks!
[1/1] IB/IPoIB: Cancel normal flush work on device stop
https://git.kernel.org/rdma/rdma/c/66196a559be596
Best regards,
--
Leon Romanovsky <leon@kernel.org>
prev parent reply other threads:[~2026-10-15 9:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-14 10:47 Edward Srouji
2026-10-15 9:04 ` 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=179205507348.3945842.17418999970026945894.b4-ty@kernel.org \
--to=leon@kernel.org \
--cc=cjubran@nvidia.com \
--cc=cratiu@nvidia.com \
--cc=edwards@nvidia.com \
--cc=jgg@ziepe.ca \
--cc=john.popplewell@nmc2.ai \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=rolandd@cisco.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
all inboxes | Powered by JetHome®