|
@@ -1160,6 +1160,8 @@ static inline void xfrm_sk_free_policy(struct sock *sk)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+extern void xfrm_garbage_collect(struct net *net);
|
|
|
|
+
|
|
#else
|
|
#else
|
|
|
|
|
|
static inline void xfrm_sk_free_policy(struct sock *sk) {}
|
|
static inline void xfrm_sk_free_policy(struct sock *sk) {}
|
|
@@ -1194,6 +1196,9 @@ static inline int xfrm6_policy_check_reverse(struct sock *sk, int dir,
|
|
{
|
|
{
|
|
return 1;
|
|
return 1;
|
|
}
|
|
}
|
|
|
|
+static inline void xfrm_garbage_collect(struct net *net)
|
|
|
|
+{
|
|
|
|
+}
|
|
#endif
|
|
#endif
|
|
|
|
|
|
static __inline__
|
|
static __inline__
|