diff options
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/dst.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/include/net/dst.h b/include/net/dst.h index 8948452132ad..2a46cbaef92d 100644 --- a/include/net/dst.h +++ b/include/net/dst.h | |||
@@ -426,15 +426,17 @@ enum { | |||
426 | 426 | ||
427 | struct flowi; | 427 | struct flowi; |
428 | #ifndef CONFIG_XFRM | 428 | #ifndef CONFIG_XFRM |
429 | static inline int xfrm_lookup(struct net *net, struct dst_entry **dst_p, | 429 | static inline struct dst_entry *xfrm_lookup(struct net *net, |
430 | const struct flowi *fl, struct sock *sk, | 430 | struct dst_entry *dst_orig, |
431 | int flags) | 431 | const struct flowi *fl, struct sock *sk, |
432 | int flags) | ||
432 | { | 433 | { |
433 | return 0; | 434 | return dst_orig; |
434 | } | 435 | } |
435 | #else | 436 | #else |
436 | extern int xfrm_lookup(struct net *net, struct dst_entry **dst_p, | 437 | extern struct dst_entry *xfrm_lookup(struct net *net, struct dst_entry *dst_orig, |
437 | const struct flowi *fl, struct sock *sk, int flags); | 438 | const struct flowi *fl, struct sock *sk, |
439 | int flags); | ||
438 | #endif | 440 | #endif |
439 | #endif | 441 | #endif |
440 | 442 | ||