aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorYi Liu <[email protected]>2025-03-24 12:00:33 +0000
committerJason Gunthorpe <[email protected]>2025-03-28 13:07:23 +0000
commit41464a4628f3b15988bdc3dcd824c2e91064fc6f (patch)
tree0975254237fa60c2cb5950f71134276b3511ed23 /drivers/net/ethernet/intel/igc/igc_main.c
parentiommufd/selftest: Add coverage for reporting max_pasid_log2 via IOMMU_HW_INFO (diff)
downloadkernel-41464a4628f3b15988bdc3dcd824c2e91064fc6f.tar.gz
kernel-41464a4628f3b15988bdc3dcd824c2e91064fc6f.zip
iommufd: Initialize the flags of vevent in iommufd_viommu_report_event()
The vevent->header.flags is not initialized per allocation, hence the vevent read path may treat the vevent as lost_events_header wrongly. Use kzalloc() to alloc memory for new vevent. Fixes: e8e1ef9b77a7 ("iommufd/viommu: Add iommufd_viommu_report_event helper") Link: https://patch.msgid.link/r/[email protected] Signed-off-by: Yi Liu <[email protected]> Reviewed-by: Nicolin Chen <[email protected]> Tested-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