[RFC 0/3] fix bogus interrupt FD leak warnings

Stephen Hemminger stephen at networkplumber.org
Mon Oct 19 19:20:50 CEST 2026


On Mon, 19 Oct 2026 16:12:30 +0200
David Marchand <david.marchand at redhat.com> wrote:

> > - Patch 2 resets dev_fd at the two unmap sites. Doing it inside
> >   dev_vfio_release_device(), next to the close, would cover any other
> >   caller.  
> 
> The current fix is a symetric to the map path, where the VFIO
> subsystem gives back to the PCI bus a device FD tracked in the
> interrupt handle object of the PCI device object.
> 
> The VFIO subsytem has no idea about the intr handle stuff.
> All it knows about is the device FD, which seems correctly closed by
> VFIO on call to dev_vfio_release_device() indeed.
> 
> I don't see why it should change, can you clarify?


Not sure, these patches were AI generated, based off of
"I see these warnings now in testpmd, where are they coming from and fix"


More information about the dev mailing list