HomeFreeBSD

if_wg: stop holding creds in wg_socket_init()

Description

if_wg: stop holding creds in wg_socket_init()

We're now xlocked when we create sockets, so we're now guaranteed that
the creds won't be released out from underneath us over in
wg_prison_remove().

Details

Provenance
kevansAuthored on Mar 15 2021, 6:21 AM
Parents
rG11704859477c: if_wg: fix the !INET6 support
Branches
Unknown
Tags
Unknown