Commit 44a492a9 authored by Herbert Xu's avatar Herbert Xu Committed by David S. Miller

[IPSEC]: Missing unlock in policy timer.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@redhat.com>
parent 23b2c2b8
......@@ -204,6 +204,7 @@ static void xfrm_policy_timer(unsigned long data)
return;
expired:
read_unlock(&xp->lock);
km_policy_expired(xp, dir, 1);
xfrm_policy_delete(xp, dir);
xfrm_pol_put(xp);
......
Markdown is supported
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