Skip to content
Commit 57b6f02f authored by Oded Gabbay's avatar Oded Gabbay
Browse files

habanalabs: fix use-after-free bug



When the code iterates over the free list of physical pages nodes, it
deletes the physical page node which is used as the iterator.

Therefore, we need to use the safe version of the iteration to prevent
use-after-free.

Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
parent 2a835946
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment