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
F174265462: D58732.id183691.diff
Thu, Oct 1, 8:50 PM
F174168854: D58732.diff
Thu, Oct 1, 2:43 AM
Unknown Object (File)
Wed, Sep 30, 9:00 AM
Unknown Object (File)
Thu, Sep 24, 11:48 PM
Unknown Object (File)
Thu, Sep 17, 6:31 PM
Unknown Object (File)
Mon, Sep 7, 7:56 PM
Unknown Object (File)
Wed, Sep 2, 12:32 PM
Unknown Object (File)
Wed, Sep 2, 7:54 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