aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/dst.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/dst.h')
-rw-r--r--include/net/dst.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/net/dst.h b/include/net/dst.h
index 6c778799bf10..6be3b082a070 100644
--- a/include/net/dst.h
+++ b/include/net/dst.h
@@ -291,21 +291,21 @@ enum {
291 291
292struct flowi; 292struct flowi;
293#ifndef CONFIG_XFRM 293#ifndef CONFIG_XFRM
294static inline int xfrm_lookup(struct dst_entry **dst_p, struct flowi *fl, 294static inline int xfrm_lookup(struct net *net, struct dst_entry **dst_p,
295 struct sock *sk, int flags) 295 struct flowi *fl, struct sock *sk, int flags)
296{ 296{
297 return 0; 297 return 0;
298} 298}
299static inline int __xfrm_lookup(struct dst_entry **dst_p, struct flowi *fl, 299static inline int __xfrm_lookup(struct net *net, struct dst_entry **dst_p,
300 struct sock *sk, int flags) 300 struct flowi *fl, struct sock *sk, int flags)
301{ 301{
302 return 0; 302 return 0;
303} 303}
304#else 304#else
305extern int xfrm_lookup(struct dst_entry **dst_p, struct flowi *fl, 305extern int xfrm_lookup(struct net *net, struct dst_entry **dst_p,
306 struct sock *sk, int flags); 306 struct flowi *fl, struct sock *sk, int flags);
307extern int __xfrm_lookup(struct dst_entry **dst_p, struct flowi *fl, 307extern int __xfrm_lookup(struct net *net, struct dst_entry **dst_p,
308 struct sock *sk, int flags); 308 struct flowi *fl, struct sock *sk, int flags);
309#endif 309#endif
310#endif 310#endif
311 311