On 9/9/2026 12:01 PM, Anatoly Burakov wrote:
When unmapping a device, the device is not removed from TAILQ, which may
result in attempting to access this devices' data during subsequent mem
event callbacks (as they are only disabled once all devices are removed).

Remove the device from TAILQ on unmap to fix it, and move the device fd
close under the memcfg lock to avoid race between a mem event and fd close.

Fixes: dc955cd24c8f ("net/nbl: add coexistence mode")
Cc: [email protected]
Cc: [email protected]

Signed-off-by: Anatoly Burakov <[email protected]>
---


This patch was also sent separately and is currently "awaiting upstream". Sending it as part of this patchset is a workaround for CI not being able to use Depends-on tags correctly, it is not meant to be merged as part of this patchset.

--
Thanks,
Anatoly

Reply via email to