summaryrefslogtreecommitdiffhomepage
path: root/src/socket.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-03-14 23:05:36 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2019-03-17 22:33:16 -0600
commite3d5a96bb3391d12e77a9eb7baa7bae1dcad0829 (patch)
treeea9a5de9bb3c4999ba09f6e14d85cd0958d4e68f /src/socket.c
parentbea17c2bd2bcc0035bd0830e2f6592930dac574e (diff)
global: the _bh variety of rcu helpers have been unified
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/socket.c')
-rw-r--r--src/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.c b/src/socket.c
index 652d798..5a77b0c 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -426,7 +426,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_bh();
+ synchronize_rcu();
synchronize_net();
sock_free(old4);
sock_free(old6);