Thread (3 messages) 3 messages, 3 authors, 2026-03-11

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

From: Simon Horman <horms@kernel.org>
Date: 2026-03-11 17:03:09
Also in: linux-rdma, lkml

On Mon, Mar 09, 2026 at 10:24:15AM -0700, Konstantin Taranov wrote:
From: Shiraz Saleem <redacted>

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 <redacted>
Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com>
Unfortunately the CI was not able to apply this net.

Please rebase and repost.

-- 
pw-bot: changes-requested
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help