HomeFreeBSD

if_wg: fix access to noise_local->l_has_identity and l_private

Description

if_wg: fix access to noise_local->l_has_identity and l_private

These members are protected by the identity lock, so rlock it in
noise_remote_alloc() and then assert that we have it held to some extent
in noise_precompute_ss().

PR: 276392

Details

Provenance
aly_aaronly.meAuthored on Jan 17 2024, 11:29 PM
kevansCommitted on Jan 17 2024, 11:29 PM
Parents
rGb891f61ef538: if_wg: fix erroneous calculation in calculate_padding() for p_mtu == 0
Branches
Unknown
Tags
Unknown