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/ipv4/route.c | |
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/ipv4/route.c')
-rw-r--r-- | net/ipv4/route.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 78462658fccb..23d205043d92 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c | |||
@@ -2732,9 +2732,7 @@ int ip_route_output_flow(struct net *net, struct rtable **rp, struct flowi *flp, | |||
2732 | flp->fl4_src = (*rp)->rt_src; | 2732 | flp->fl4_src = (*rp)->rt_src; |
2733 | if (!flp->fl4_dst) | 2733 | if (!flp->fl4_dst) |
2734 | flp->fl4_dst = (*rp)->rt_dst; | 2734 | flp->fl4_dst = (*rp)->rt_dst; |
2735 | err = __xfrm_lookup(net, (struct dst_entry **)rp, flp, sk, | 2735 | err = __xfrm_lookup(net, (struct dst_entry **)rp, flp, sk, 0); |
2736 | ((flp->flags & FLOWI_FLAG_CAN_SLEEP) ? | ||
2737 | XFRM_LOOKUP_WAIT : 0)); | ||
2738 | if (err == -EREMOTE) | 2736 | if (err == -EREMOTE) |
2739 | err = ipv4_dst_blackhole(net, rp, flp); | 2737 | err = ipv4_dst_blackhole(net, rp, flp); |
2740 | 2738 | ||