diff options
author | David S. Miller <davem@davemloft.net> | 2011-03-01 17:36:37 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-01 17:36:37 -0500 |
commit | 80c0bc9e37adfc892af82cb6aa8cace79f8a96cb (patch) | |
tree | 0f4abc233d9661e85c7c7ecb064a75a8f0984f1f /net/xfrm | |
parent | a1414715f0ac905fb4b3a158ff6548d37bbe6165 (diff) |
xfrm: Kill XFRM_LOOKUP_WAIT flag.
This can be determined from the flow flags instead.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm')
-rw-r--r-- | net/xfrm/xfrm_policy.c | 2 |
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); |