Re: [PATCH net] net/mana: Fix auxiliary device double-delete race

From: Simon Horman

Date: Wed Mar 11 2026 - 13:03:28 EST


On Mon, Mar 09, 2026 at 10:24:15AM -0700, Konstantin Taranov wrote:
> From: Shiraz Saleem <shirazsaleem@xxxxxxxxxxxxx>
>
> Make remove_adev() safe to call concurrently from the service reset
> and PCI eject paths by using xchg() to atomically claim the adev
> pointer. This prevents double auxiliary_device_delete/uninit when
> hv_eject_device_work races with the service reset workqueue.
>
> Fixes: 505cc26bcae0 ("net: mana: Add support for auxiliary device servicing events")
> Signed-off-by: Shiraz Saleem <shirazsaleem@xxxxxxxxxxxxx>
> Signed-off-by: Konstantin Taranov <kotaranov@xxxxxxxxxxxxx>

Unfortunately the CI was not able to apply this net.

Please rebase and repost.

--
pw-bot: changes-requested