On Fri, Jan 25, 2019 at 12:59 AM Jason A. Donenfeld <[email protected]> wrote:
> @@ -539,6 +539,7 @@ static int wg_set_device(struct sk_buff *skb, struct 
> genl_info *info)
>                                          peer_list) {
>                         if (!wg_noise_precompute_static_static(peer))
>                                 wg_peer_remove(peer);
else
> +                       wg_noise_keypairs_clear(&peer->keypairs);
>                 }
>                 wg_cookie_checker_precompute_device_keys(&wg->cookie_checker);
>                 up_write(&wg->static_identity.lock);
_______________________________________________
WireGuard mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/wireguard

Reply via email to