HomeFreeBSD

bridge: Allow BRDGSIFVLANSET without IFBRF_VLANFILTER

Description

bridge: Allow BRDGSIFVLANSET without IFBRF_VLANFILTER

Currently, we disallow BRDGSIFVLANSET when IFBRF_VLANFILTER is disabled.
There's no particular reason to do this, and it causes some undesirable
behaviour such as not being able to remove the tagged config on a member
after disabling vlanfilter on the bridge.

Remove the restriction so BRDGSIFVLANSET is always accepted.

PR: 292019
MFC after: 1 week
Reviewed by: zlei, p.mousavizadeh_protonmail.com
Sponsored by: https://www.patreon.com/bsdivy
Differential Revision: https://reviews.freebsd.org/D54435

(cherry picked from commit 2e92aeede85c8986bd6f4dde65d2ac2449eccf51)

Details

Provenance
ivyAuthored on Jan 3 2026, 1:13 AM
Reviewer
zlei
Differential Revision
D54435: bridge: Allow BRDGSIFVLANSET without IFBRF_VLANFILTER
Parents
rG4e7fed532812: freebsd-base.7: Document the optional set
Branches
Unknown
Tags
Unknown