Page MenuHomeFreeBSD

if_bridge: prune IPv4 multicast forwarding using the MDB
Needs ReviewPublic

Authored by namkhanh052005_gmail.com on Aug 8 2026, 5:01 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Sep 2, 12:32 PM
Unknown Object (File)
Wed, Sep 2, 7:54 AM
Unknown Object (File)
Tue, Sep 1, 12:46 PM
Unknown Object (File)
Tue, Sep 1, 9:30 AM
Unknown Object (File)
Mon, Aug 24, 1:02 AM
Unknown Object (File)
Sat, Aug 22, 4:01 PM
Unknown Object (File)
Fri, Aug 21, 8:36 PM
Unknown Object (File)
Thu, Aug 20, 12:19 AM

Details

Reviewers
ivy
Summary

IPv4 multicast data frames now perform an MDB lookup keyed by
(VLAN, group) before replication. On a hit with positive listener state,
delivery is pruned to the interested ports. On a miss, a parse failure, or
any other uncertainty, the bridge floods exactly as it did before this
series. Pruning is subordinate to positive listener state and is never the
default.

Depends on D58731

Test Plan

mdb_selective_forward ATF test: a joined listener receives the group; an
uninterested port on the same segment does not. Built and booted on both
bases; ATF passes.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Warnings
SeverityLocationCodeMessage
Warningtests/sys/net/if_bridge_test.sh:CHMOD1Invalid Executable
Unit
No Test Coverage
Build Status
Buildable 75460
Build 72343: arc lint + arc unit