Page MenuHomeFreeBSD

if_bridge: learn IPv4 multicast listeners from IGMP
Needs ReviewPublic

Authored by namkhanh052005_gmail.com on Aug 8 2026, 4:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Sep 11, 7:18 AM
Unknown Object (File)
Mon, Sep 7, 7:57 AM
Unknown Object (File)
Fri, Sep 4, 3:09 AM
Unknown Object (File)
Wed, Sep 2, 1:54 AM
Unknown Object (File)
Tue, Sep 1, 7:56 PM
Unknown Object (File)
Sun, Aug 30, 4:52 AM
Unknown Object (File)
Sun, Aug 30, 12:06 AM
Unknown Object (File)
Fri, Aug 28, 8:33 PM

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