diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-02-14 23:58:36 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-02-14 23:58:36 +0100 |
commit | f3a101f8bba341fa3e6413f4a8822453c07a5525 (patch) | |
tree | ac926ffeab779007f8867e4b89cba73620f4649b /src/socket.c | |
parent | ccf83958942334da31a6688a994796b049594c76 (diff) |
socket: remove useless synchronize_net
Utter non-sense from way back when.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Fixes: 8906775b ("socket: synchronize net on socket tear down")
Diffstat (limited to 'src/socket.c')
-rw-r--r-- | src/socket.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/socket.c b/src/socket.c index 262f3b5..b0d6541 100644 --- a/src/socket.c +++ b/src/socket.c @@ -432,7 +432,6 @@ void wg_socket_reinit(struct wg_device *wg, struct sock *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); } |