[Bug 266999] tun(4): kernel: panic: make_dev_sv: bad si_name (error=17, si_name=tun2) in in make_dev_sv > tun_create_device > tunclone

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 12 Dec 2023 04:02:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266999

--- Comment #8 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=0365e5fc905b425313a0a2d89f0d8e2566924df2

commit 0365e5fc905b425313a0a2d89f0d8e2566924df2
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-12-12 00:13:59 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-12-12 04:02:11 +0000

    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

 sys/net/if_tuntap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.