Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 2023 13:38:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [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
Message-ID:  <bug-266999-7501-DtflWorvgu@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-266999-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-266999-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266999

St=C3=A9phane Rochoy <stephane.rochoy@stormshield.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stephane.rochoy@stormshield
                   |                            |.eu

--- Comment #6 from St=C3=A9phane Rochoy <stephane.rochoy@stormshield.eu> -=
--
Not sure if relevant but interface renaming seems to conflict with the name
checks performed by `make_dev_sv`. For example, the following commands trig=
ger
the panic:

    # Destroy all existing tuns
    ifconfig -l -g tun | xargs -I {} ifconfig {} destroy

    # Create a new tun "/dev/tun0", and add a symbolic link "/dev/tun1"
pointing on it
    ifconfig tun create name tun1

    # KERNEL PANIC here
    # panic: make_dev_sv: bad si_name (error=3D17, si_name=3Dtun1)
    ifconfig tun create

(Tested on 653738e895ba, which is a bit old)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266999-7501-DtflWorvgu>