Re: [PATCH rdma-next] IB/IPoIB: Cancel normal flush work on device stop

From: Leon Romanovsky

Date: Thu Oct 15 2026 - 05:10:39 EST



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@xxxxxxxxxx>