diff options
| author | Nicolin Chen <[email protected]> | 2025-06-24 18:00:46 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2025-06-24 18:45:12 +0000 |
| commit | 4b75e3babb85238912f50bbe0647bae08242a9b6 (patch) | |
| tree | f35647afe6a04c49e4234b843aac165becc85fa4 /drivers/net/ethernet/intel/igc/igc_main.c | |
| parent | iommufd/selftest: Fix iommufd_dirty_tracking with large hugepage sizes (diff) | |
| download | kernel-4b75e3babb85238912f50bbe0647bae08242a9b6.tar.gz kernel-4b75e3babb85238912f50bbe0647bae08242a9b6.zip | |
iommufd/selftest: Add missing close(mfd) in memfd_mmap()
Do not forget to close mfd in the error paths, since none of the callers
would close it when ASSERT_NE(MAP_FAILED, buf) fails.
Fixes: 0bcceb1f51c7 ("iommufd: Selftest coverage for IOMMU_IOAS_MAP_FILE")
Link: https://patch.msgid.link/r/a363a69dbf453d4bc1bde276f3b16778620488e1.1750787928.git.nicolinc@nvidia.com
Cc: [email protected]
Reviewed-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Nicolin Chen <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions
