aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_policy.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/xfrm/xfrm_policy.c')
-rw-r--r--net/xfrm/xfrm_policy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c
index 393cc65dbfa4..62a49a1f2475 100644
--- a/net/xfrm/xfrm_policy.c
+++ b/net/xfrm/xfrm_policy.c
@@ -799,6 +799,7 @@ int xfrm_policy_flush(struct net *net, u8 type, struct xfrm_audit *audit_info)
799 continue; 799 continue;
800 hlist_del(&pol->bydst); 800 hlist_del(&pol->bydst);
801 hlist_del(&pol->byidx); 801 hlist_del(&pol->byidx);
802 list_del(&pol->walk.all);
802 write_unlock_bh(&xfrm_policy_lock); 803 write_unlock_bh(&xfrm_policy_lock);
803 804
804 xfrm_audit_policy_delete(pol, 1, audit_info->loginuid, 805 xfrm_audit_policy_delete(pol, 1, audit_info->loginuid,