[Bug 292019] Removing vlan iftagged/ifuntagged fails if vlanfilter is off

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 29 Dec 2025 14:12:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292019

            Bug ID: 292019
           Summary: Removing vlan iftagged/ifuntagged fails if vlanfilter
                    is off
           Product: Base System
           Version: 15.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: zip@zip.sexy
                CC: ivy@FreeBSD.org

While tinkering with bridges I found I was unable to unset iftagged if I had
previously turned off vlanfilter:

# ifconfig br0 iftagged re0 none
ifconfig: BRDGSIFVLANSET 2: Invalid argument (extended error VLAN filtering not
enabled)

However, it seems like I can enable and disable in the same line to achieve the
desired effect:

# ifconfig br0 vlanfilter iftagged re0 none -vlanfilter
(success)

(I had renamed my bridge from bridge0 to br0 for no particular reason.)

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