Page MenuHomeFreeBSD

if_bridge: learn IPv4 multicast listeners from IGMP
Needs ReviewPublic

Authored by namkhanh052005_gmail.com on Sat, Aug 8, 4:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Aug 20, 2:11 PM
Unknown Object (File)
Thu, Aug 20, 9:00 AM
Unknown Object (File)
Wed, Aug 19, 6:27 AM
Unknown Object (File)
Tue, Aug 18, 7:59 PM
Unknown Object (File)
Tue, Aug 18, 4:18 PM
Unknown Object (File)
Mon, Aug 17, 2:47 PM
Unknown Object (File)
Mon, Aug 17, 1:33 PM
Unknown Object (File)
Mon, Aug 17, 10:12 AM

Details

Reviewers
ivy
Summary

Parses IGMPv1/v2/v3 membership reports in the bridge forward path and
populates the MDB from them. Lengths and headers are validated before
parsing. IGMPv3 records are accepted only where they reduce to ASM (*,G)
interest -- at this stage, an EXCLUDE-mode record with an empty source
list; D7 widens this. Parse failures and unsupported record types create
no state.

The MDB is populated but not yet consulted; forwarding is unchanged.

Depends on D58730

Test Plan

mdb_unknown_multicast_flood ATF test confirms flood fallback is
unaffected by the new learning path. 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 75459
Build 72342: arc lint + arc unit