mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
iommu_gas: zero fake on-stack map entry used in iommu_gas_remove_clip_left()
Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
733da1eb94
commit
cb1d664b00
1 changed files with 1 additions and 0 deletions
|
|
@ -655,6 +655,7 @@ iommu_gas_remove_clip_left(struct iommu_domain *domain, iommu_gaddr_t start,
|
|||
* asserted that start is below domain end, entry should
|
||||
* exist. Then clip it if needed.
|
||||
*/
|
||||
bzero(&fentry, sizeof(fentry));
|
||||
fentry.start = start + 1;
|
||||
fentry.end = start + 1;
|
||||
entry = RB_NFIND(iommu_gas_entries_tree, &domain->rb_root, &fentry);
|
||||
|
|
|
|||
Loading…
Reference in a new issue