Re: [PATCH rdma-next] IB/IPoIB: Avoid restoring OPER_UP after multicast flush

From: Leon Romanovsky

Date: Sun Sep 06 2026 - 02:39:11 EST



On Wed, 02 Sep 2026 17:06:32 +0300, Edward Srouji wrote:
> ipoib_ib_dev_flush_light() temporarily clears IPOIB_FLAG_OPER_UP to
> prevent multicast joins while ipoib_mcast_dev_flush() is running, and
> restores the flag afterwards if it was previously set.
>
> This restore races with ipoib_ib_dev_down(). If the interface is brought
> down while the flush is in progress, ipoib_ib_dev_down() clears
> IPOIB_FLAG_OPER_UP, but the flush path may set it again after the device
> has already gone down.
>
> [...]

Applied, thanks!

[1/1] IB/IPoIB: Avoid restoring OPER_UP after multicast flush
https://git.kernel.org/rdma/rdma/c/9a141d3dc869d1

Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>