projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
wireguard: use synchronize_net rather than synchronize_rcu
[linux-2.6-microblaze.git]
/
drivers
/
net
/
wireguard
/
socket.c
diff --git
a/drivers/net/wireguard/socket.c
b/drivers/net/wireguard/socket.c
index
d9ad850
..
8c496b7
100644
(file)
--- a/
drivers/net/wireguard/socket.c
+++ b/
drivers/net/wireguard/socket.c
@@
-430,7
+430,7
@@
void wg_socket_reinit(struct wg_device *wg, struct sock *new4,
if (new4)
wg->incoming_port = ntohs(inet_sk(new4)->inet_sport);
mutex_unlock(&wg->socket_update_lock);
- synchronize_
rcu
();
+ synchronize_
net
();
sock_free(old4);
sock_free(old6);
}