aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorBojan Novković <bnovkov@FreeBSD.org>2025-12-13 14:53:45 +0000
committerBojan Novković <bnovkov@FreeBSD.org>2025-12-15 15:47:00 +0000
commit4f7436bf297b93fd9e835ffca3d56288ce934dc5 (patch)
tree1ce272e344def9228918da9779b492b955daddbe /gnu
parent20fc2b332bd24a5e627079ac0dae148c76d81007 (diff)
amd64/vmm.c: Fix an incorrect memory segment check in vm_iommu_{un}map
This change fixes two checks that conflated memory mapping and memory segment idenitifers. In both cases the code iterates over all memory mappings but passes the index to `vm_memseg_sysmem`, which is wrong. Fix this by passing the memory mapping's segment identifier instead. Differential Revision: https://reviews.freebsd.org/D54210 Reviewed by: markj Fixes: c76c2a19ae37 PR: 290920 (cherry picked from commit f1809eab82a796845f126b703c01d4a31ccf2193)
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions