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
xfrm: add rcu protection to sk->sk_policy[]
[firefly-linux-kernel-4.4.55.git]
/
include
/
net
/
sock.h
diff --git
a/include/net/sock.h
b/include/net/sock.h
index b1d475b5db6825e13df3e3e147fed8654e1cf086..eaef41433d7a3d1137ac5a54af45b4bdddc4ef7c 100644
(file)
--- a/
include/net/sock.h
+++ b/
include/net/sock.h
@@
-388,7
+388,7
@@
struct sock {
struct socket_wq *sk_wq_raw;
};
#ifdef CONFIG_XFRM
- struct xfrm_policy
*sk_policy[2];
+ struct xfrm_policy
__rcu
*sk_policy[2];
#endif
struct dst_entry *sk_rx_dst;
struct dst_entry __rcu *sk_dst_cache;