On Tue, Aug 23, 2022 at 8:18 AM Jason Wang wrote:
>
>
> 在 2022/8/20 00:53, Eugenio Pérez 写道:
> > It's convenient to call iova_tree_remove from a map returned from
> > iova_tree_find or iova_tree_find_iova.
>
>
> The looks like a hint of the defect of current API.
>
>
> > With the current code th
在 2022/8/20 00:53, Eugenio Pérez 写道:
It's convenient to call iova_tree_remove from a map returned from
iova_tree_find or iova_tree_find_iova.
The looks like a hint of the defect of current API.
With the current code this is not
possible, since we will free it, and then we will try to se
It's convenient to call iova_tree_remove from a map returned from
iova_tree_find or iova_tree_find_iova. With the current code this is not
possible, since we will free it, and then we will try to search for it
again.
Fix it making a copy of the argument. Not applying a fixes tag, since
there is no