On 10/24/2026 3:21 PM, David Marchand wrote:
From: Stephen Hemminger <[email protected]>

The VFIO device fd is closed by dev_vfio_release_device() but is left
in the interrupt handle, so freeing the handle on cleanup logs a bogus
FD leak warning.

Mark dev_fd invalid after release.

In secondary process the request handle is unused and does not have to
be set in the first place.

Fixes: d770ee9caed0 ("interrupts: warn on leaked FDs")

Signed-off-by: Stephen Hemminger <[email protected]>
Signed-off-by: David Marchand <[email protected]>
---

Acked-by: Anatoly Burakov <[email protected]>

--
Thanks,
Anatoly

Reply via email to