projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vxlan: avoid using stale vxlan socket.
[cascardo/linux.git]
/
include
/
net
/
vxlan.h
diff --git
a/include/net/vxlan.h
b/include/net/vxlan.h
index
0255613
..
308adc4
100644
(file)
--- a/
include/net/vxlan.h
+++ b/
include/net/vxlan.h
@@
-225,9
+225,9
@@
struct vxlan_config {
struct vxlan_dev {
struct hlist_node hlist; /* vni hash table */
struct list_head next; /* vxlan's per namespace list */
struct vxlan_dev {
struct hlist_node hlist; /* vni hash table */
struct list_head next; /* vxlan's per namespace list */
- struct vxlan_sock
*vn4_sock;
/* listening socket for IPv4 */
+ struct vxlan_sock
__rcu *vn4_sock;
/* listening socket for IPv4 */
#if IS_ENABLED(CONFIG_IPV6)
#if IS_ENABLED(CONFIG_IPV6)
- struct vxlan_sock
*vn6_sock;
/* listening socket for IPv6 */
+ struct vxlan_sock
__rcu *vn6_sock;
/* listening socket for IPv6 */
#endif
struct net_device *dev;
struct net *net; /* netns for packet i/o */
#endif
struct net_device *dev;
struct net *net; /* netns for packet i/o */