Commit 2bb1499
iommu/io-pgtable: dart: Fix freeing of non-leaf page tables
We increment the ptep to walk the page, so the subsequent free
ended up freeing the *next* page which is not good.
Signed-off-by: Asahi Lina <lina@asahilina.net>1 parent db90a7e commit 2bb1499
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
| 466 | + | |
466 | 467 | | |
467 | 468 | | |
468 | 469 | | |
| |||
474 | 475 | | |
475 | 476 | | |
476 | 477 | | |
477 | | - | |
| 478 | + | |
478 | 479 | | |
479 | 480 | | |
480 | 481 | | |
| |||
0 commit comments