HomeFreeBSD

if_wg: close the sockets if wg_socket_bind() failed

Description

if_wg: close the sockets if wg_socket_bind() failed

This fixes the remaining cred leak that prevented jails from fully dying
in some error cases.

Details

Provenance
kevansAuthored on Mar 15 2021, 6:23 AM
Parents
rG99158c7fbd56: if_wg: stop holding creds in wg_socket_init()
Branches
Unknown
Tags
Unknown