diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2024-03-09 02:05:26 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2024-03-11 22:08:52 +0300 |
commit | fcdc0d3d40bc26c105acf8467f7d9018970944ae (patch) | |
tree | f8dc61496e0d422b01ff9db62cf81790c36f9b06 /rust/helpers.c | |
parent | 18c198c96a815c962adc2b9b77909eec0be7df4d (diff) | |
download | linux-fcdc0d3d40bc26c105acf8467f7d9018970944ae.tar.xz |
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: a7fa7c77cf15 ("vfio/platform: implement IRQ masking/unmasking via an eventfd")
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Link: https://lore.kernel.org/r/20240308230557.805580-6-alex.williamson@redhat.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions