Long outage when changing private key
Jason A. Donenfeld
Jason at zx2c4.com
Fri Jan 25 01:00:44 CET 2019
On Fri, Jan 25, 2019 at 12:59 AM Jason A. Donenfeld <Jason at zx2c4.com> 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);
More information about the WireGuard
mailing list