Page MenuHomeFreeBSD

igmp: do not upgrade IGMP version beyond net.inet.igmp.default_version
ClosedPublic

Authored by kp on Aug 29 2023, 9:47 AM.
Tags
None
Referenced Files
F102153111: D41628.diff
Fri, Nov 8, 6:56 AM
Unknown Object (File)
Mon, Oct 21, 7:35 PM
Unknown Object (File)
Mon, Oct 21, 12:37 AM
Unknown Object (File)
Mon, Oct 21, 12:37 AM
Unknown Object (File)
Mon, Oct 21, 12:37 AM
Unknown Object (File)
Fri, Oct 18, 7:12 PM
Unknown Object (File)
Oct 7 2024, 10:04 PM
Unknown Object (File)
Oct 3 2024, 1:58 AM

Details

Summary

IGMP requires hosts to use the lowest version they've seen on the
network. When the IGMP timers expire we take the opportunity to upgrade again.
However, we did not take the net.inet.igmp.default_version sysctl
setting into account, so we could end up switching to IGMPv3 even if the
user had requested IGMPv2 or IGMPv1 via the sysctl.

Check V_igmp_default_version before we upgrade the IGMP version.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 53327
Build 50218: arc lint + arc unit