Page MenuHomeFreeBSD

bridge: Divorce ifuntagged from vlanfilter
ClosedPublic

Authored by ivy on Aug 6 2025, 1:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 29, 7:00 PM
Unknown Object (File)
Thu, Mar 26, 5:41 AM
Unknown Object (File)
Sat, Mar 14, 9:50 AM
Unknown Object (File)
Sat, Mar 14, 3:47 AM
Unknown Object (File)
Sat, Mar 7, 6:50 AM
Unknown Object (File)
Feb 26 2026, 5:21 PM
Unknown Object (File)
Feb 26 2026, 9:39 AM
Unknown Object (File)
Feb 21 2026, 5:47 PM

Details

Summary

The ifuntagged option was added as part of the VLAN filtering feature,
but it's useful on its own to be able to place interface traffic in a
VLAN without having to configure every interface for VLAN filtering.

Always do the pvid processing in bridge even if IFBRF_VLANFILTER isn't
enabled, and don't prohibit configuring it.

Add a test for the specific case of setting untagged without vlanfilter.

This has no effect on bridges which don't have at least one interface
configured with ifuntagged.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable