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)
Fri, Oct 10, 8:32 AM
Unknown Object (File)
Fri, Oct 10, 8:32 AM
Unknown Object (File)
Fri, Oct 10, 8:32 AM
Unknown Object (File)
Fri, Oct 10, 2:25 AM
Unknown Object (File)
Fri, Oct 3, 4:28 AM
Unknown Object (File)
Wed, Oct 1, 5:50 AM
Unknown Object (File)
Wed, Oct 1, 12:56 AM
Unknown Object (File)
Mon, Sep 29, 5:38 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