diff options
Diffstat (limited to 'include/net/dst.h')
-rw-r--r-- | include/net/dst.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/net/dst.h b/include/net/dst.h index 23b564d3e110..4fedffd7c56f 100644 --- a/include/net/dst.h +++ b/include/net/dst.h | |||
@@ -428,20 +428,22 @@ enum { | |||
428 | struct flowi; | 428 | struct flowi; |
429 | #ifndef CONFIG_XFRM | 429 | #ifndef CONFIG_XFRM |
430 | static inline int xfrm_lookup(struct net *net, struct dst_entry **dst_p, | 430 | static inline int xfrm_lookup(struct net *net, struct dst_entry **dst_p, |
431 | struct flowi *fl, struct sock *sk, int flags) | 431 | const struct flowi *fl, struct sock *sk, |
432 | int flags) | ||
432 | { | 433 | { |
433 | return 0; | 434 | return 0; |
434 | } | 435 | } |
435 | static inline int __xfrm_lookup(struct net *net, struct dst_entry **dst_p, | 436 | static inline int __xfrm_lookup(struct net *net, struct dst_entry **dst_p, |
436 | struct flowi *fl, struct sock *sk, int flags) | 437 | const struct flowi *fl, struct sock *sk, |
438 | int flags) | ||
437 | { | 439 | { |
438 | return 0; | 440 | return 0; |
439 | } | 441 | } |
440 | #else | 442 | #else |
441 | extern int xfrm_lookup(struct net *net, struct dst_entry **dst_p, | 443 | extern int xfrm_lookup(struct net *net, struct dst_entry **dst_p, |
442 | struct flowi *fl, struct sock *sk, int flags); | 444 | const struct flowi *fl, struct sock *sk, int flags); |
443 | extern int __xfrm_lookup(struct net *net, struct dst_entry **dst_p, | 445 | extern int __xfrm_lookup(struct net *net, struct dst_entry **dst_p, |
444 | struct flowi *fl, struct sock *sk, int flags); | 446 | const struct flowi *fl, struct sock *sk, int flags); |
445 | #endif | 447 | #endif |
446 | #endif | 448 | #endif |
447 | 449 | ||