Page MenuHomeFreeBSD

bridge: Divorce ifuntagged from vlanfilter
ClosedPublic

Authored by ivy on Wed, Aug 6, 1:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Aug 12, 11:17 PM
Unknown Object (File)
Tue, Aug 12, 11:15 PM
Unknown Object (File)
Mon, Aug 11, 11:04 PM
Unknown Object (File)
Sun, Aug 10, 4:32 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 66016
Build 62899: arc lint + arc unit