Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3a9016f9 authored by Steffen Klassert's avatar Steffen Klassert
Browse files

xfrm: Fix unlink race when policies are deleted.



When a policy is unlinked from the lists in thread context,
the xfrm timer can fire before we can mark this policy as dead.
So reinitialize the bydst hlist, then hlist_unhashed() will
notice that this policy is not linked and will avoid a
doulble unlink of that policy.

Reported-by: default avatarXianpeng Zhao <673321875@qq.com>
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent ee5c2317
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment