HomeFreeBSD

if_tun: check device name

Description

if_tun: check device name

to avoid panic if the name already exists, which is possible with the
interface renaming.

PR: 266999
Reviewed by: kevans
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D43001

Details

Provenance
kibAuthored on Dec 12 2023, 12:13 AM
Reviewer
kevans
Differential Revision
D43001: if_tun: check device name
Parents
rGd5c6b32a31ac: socket.9: Catch up with commit cfb1e92912b4c
Branches
Unknown
Tags
Unknown