diff options
Diffstat (limited to 'src/socket.c')
-rw-r--r-- | src/socket.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/socket.c b/src/socket.c index 9075e2a..858967c 100644 --- a/src/socket.c +++ b/src/socket.c @@ -413,6 +413,7 @@ void socket_uninit(struct wireguard_device *wg) rcu_assign_pointer(wg->sock6, NULL); mutex_unlock(&wg->socket_update_lock); synchronize_rcu(); + synchronize_net(); sock_free(old4); sock_free(old6); } |