aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm
diff options
context:
space:
mode:
Diffstat (limited to 'net/xfrm')
-rw-r--r--net/xfrm/xfrm_policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c
index 41a91d27d3ea..f4c7467a614e 100644
--- a/net/xfrm/xfrm_policy.c
+++ b/net/xfrm/xfrm_policy.c
@@ -1831,7 +1831,7 @@ restart:
1831 XFRM_INC_STATS(net, LINUX_MIB_XFRMOUTNOSTATES); 1831 XFRM_INC_STATS(net, LINUX_MIB_XFRMOUTNOSTATES);
1832 return -EREMOTE; 1832 return -EREMOTE;
1833 } 1833 }
1834 if (flags & XFRM_LOOKUP_WAIT) { 1834 if (fl->flags & FLOWI_FLAG_CAN_SLEEP) {
1835 DECLARE_WAITQUEUE(wait, current); 1835 DECLARE_WAITQUEUE(wait, current);
1836 1836
1837 add_wait_queue(&net->xfrm.km_waitq, &wait); 1837 add_wait_queue(&net->xfrm.km_waitq, &wait);