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)
Thu, Feb 26, 5:21 PM
Unknown Object (File)
Thu, Feb 26, 9:39 AM
Unknown Object (File)
Sat, Feb 21, 5:47 PM
Unknown Object (File)
Mon, Feb 16, 8:49 AM
Unknown Object (File)
Sun, Feb 8, 4:20 AM
Unknown Object (File)
Sat, Feb 7, 10:02 PM
Unknown Object (File)
Jan 31 2026, 3:18 PM
Unknown Object (File)
Dec 18 2025, 10:33 AM

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