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 e52218e..9dd1683 100644 --- a/src/socket.c +++ b/src/socket.c @@ -466,6 +466,7 @@ int socket_init(struct wireguard_device *wg) if (ret < 0) { pr_err("Could not create IPv6 socket\n"); udp_tunnel_sock_release(new4); + rcu_assign_pointer(wg->sock4, NULL); goto out; } |