diff options
author | David S. Miller <davem@davemloft.net> | 2011-03-01 17:59:04 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-01 17:59:04 -0500 |
commit | 2774c131b1d19920b4587db1cfbd6f0750ad1f15 (patch) | |
tree | 3a0482c727cf4dcc046a211214f12459dcba8271 /include/net/dst.h | |
parent | 69ead7afdf6028184f713a77376ee26f8aaafdcd (diff) |
xfrm: Handle blackhole route creation via afinfo.
That way we don't have to potentially do this in every xfrm_lookup()
caller.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/dst.h')
-rw-r--r-- | include/net/dst.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/net/dst.h b/include/net/dst.h index 15d67c8d3ce8..8948452132ad 100644 --- a/include/net/dst.h +++ b/include/net/dst.h | |||
@@ -432,17 +432,9 @@ static inline int xfrm_lookup(struct net *net, struct dst_entry **dst_p, | |||
432 | { | 432 | { |
433 | return 0; | 433 | return 0; |
434 | } | 434 | } |
435 | static inline int __xfrm_lookup(struct net *net, struct dst_entry **dst_p, | ||
436 | const struct flowi *fl, struct sock *sk, | ||
437 | int flags) | ||
438 | { | ||
439 | return 0; | ||
440 | } | ||
441 | #else | 435 | #else |
442 | extern int xfrm_lookup(struct net *net, struct dst_entry **dst_p, | 436 | extern int xfrm_lookup(struct net *net, struct dst_entry **dst_p, |
443 | const struct flowi *fl, struct sock *sk, int flags); | 437 | const struct flowi *fl, struct sock *sk, int flags); |
444 | extern int __xfrm_lookup(struct net *net, struct dst_entry **dst_p, | ||
445 | const struct flowi *fl, struct sock *sk, int flags); | ||
446 | #endif | 438 | #endif |
447 | #endif | 439 | #endif |
448 | 440 | ||