mirror of
https://github.com/opnsense/src.git
synced 2026-04-24 15:48:48 -04:00
iommu_gas: zero fake on-stack map entry used in iommu_gas_remove_clip_left()
(cherry picked from commit cb1d664b0073232173072231cb386f0216ee596b)
This commit is contained in:
parent
b86d839af9
commit
edaece2f7e
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