aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/dst.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-03-01 17:59:04 -0500
committerDavid S. Miller <davem@davemloft.net>2011-03-01 17:59:04 -0500
commit2774c131b1d19920b4587db1cfbd6f0750ad1f15 (patch)
tree3a0482c727cf4dcc046a211214f12459dcba8271 /include/net/dst.h
parent69ead7afdf6028184f713a77376ee26f8aaafdcd (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.h8
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}
435static 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
442extern int xfrm_lookup(struct net *net, struct dst_entry **dst_p, 436extern 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);
444extern 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