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

xfrm: Add refcount handling to queued policies



We need to ensure that policies can't go away as long as the hold timer
is armed, so take a refcont when we arm the timer and drop one if we
delete it.

Bug was introduced with git commit a0073fe1 ("xfrm: Add a state
resolution packet queue")

Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent cd808fc9
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