projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARM: rockchip: rk3228: add grf definition
[firefly-linux-kernel-4.4.55.git]
/
include
/
net
/
xfrm.h
diff --git
a/include/net/xfrm.h
b/include/net/xfrm.h
index ae16531d0d353741ac66c83e0464341d060d5cce..94ce082b29dcdba2d726cbc90a0c4510fd38fb2b 100644
(file)
--- 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__