[Bug 270618] ifconfig: BRDGADD epair0a: Device not configured

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 03 Apr 2023 08:57:54 UTC

            Bug ID: 270618
           Summary: ifconfig: BRDGADD epair0a: Device not configured
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: zlei@FreeBSD.org

While repeating https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270607 I
encountered this interesting bug again. Its first occurrence is when I was
doing https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270417 . 

When clone creating if_bridge(4), ifconfig will fail with `Device not
configured` if the device unit number of bridge is not provided.

Scripts to repeat:


ep=$( ifconfig epair create )
br=$( ifconfig bridge create addm $ep )

ifconfig $br destroy
ifconfig $ep destroy

You are receiving this mail because:
You are the assignee for the bug.