Skip to content
Commit fcdc0d3d authored by Alex Williamson's avatar Alex Williamson
Browse files

vfio/platform: Disable virqfds on cleanup

irqfds for mask and unmask that are not specifically disabled by the
user are leaked.  Remove any irqfds during cleanup

Cc: Eric Auger <eric.auger@redhat.com>
Cc:  <stable@vger.kernel.org>
Fixes: a7fa7c77

 ("vfio/platform: implement IRQ masking/unmasking via an eventfd")
Reviewed-by: default avatarKevin Tian <kevin.tian@intel.com>
Reviewed-by: default avatarEric Auger <eric.auger@redhat.com>
Link: https://lore.kernel.org/r/20240308230557.805580-6-alex.williamson@redhat.com
Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent 18c198c9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment