Page MenuHomeFreeBSD

if_bridge: prune IPv4 multicast forwarding using the MDB
Needs ReviewPublic

Authored by namkhanh052005_gmail.com on Sat, Aug 8, 5:01 PM.
Tags
None
Referenced Files
F167215081: D58732.id.diff
Thu, Aug 20, 12:19 AM
Unknown Object (File)
Tue, Aug 18, 9:33 PM
Unknown Object (File)
Tue, Aug 18, 8:28 PM
Unknown Object (File)
Mon, Aug 17, 3:53 PM
Unknown Object (File)
Mon, Aug 17, 5:52 AM
Unknown Object (File)
Sun, Aug 16, 11:36 AM
Unknown Object (File)
Sun, Aug 16, 8:49 AM
Unknown Object (File)
Sat, Aug 15, 11:52 PM

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