X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fnet%2Fxfrm.h;h=94ce082b29dcdba2d726cbc90a0c4510fd38fb2b;hb=981250553d7fa27a1430a521d6f68b5eb7657f2a;hp=ae16531d0d353741ac66c83e0464341d060d5cce;hpb=bb762929dbfb378ef8c5c3f400bc98a6a0614584;p=firefly-linux-kernel-4.4.55.git diff --git a/include/net/xfrm.h b/include/net/xfrm.h index ae16531d0d35..94ce082b29dc 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h @@ -1160,6 +1160,8 @@ static inline void xfrm_sk_free_policy(struct sock *sk) } } +extern void xfrm_garbage_collect(struct net *net); + #else 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; } +static inline void xfrm_garbage_collect(struct net *net) +{ +} #endif static __inline__