Commit 3ee81afa authored by Herbert Xu's avatar Herbert Xu Committed by David S. Miller

[XFRM]: Too many reference drops of delpol in xfrm_policy_insert.

parent 74c0f4d0
......@@ -280,7 +280,6 @@ int xfrm_policy_insert(int dir, struct xfrm_policy *policy, int excl)
write_unlock_bh(&xfrm_policy_lock);
if (delpol) {
atomic_dec(&delpol->refcnt);
xfrm_policy_kill(delpol);
xfrm_pol_put(delpol);
}
......
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