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
Unknown Object (File)
Sat, May 4, 5:29 AM
Unknown Object (File)
Jan 10 2024, 3:00 PM
Unknown Object (File)
Jan 10 2024, 3:00 PM
Unknown Object (File)
Jan 10 2024, 2:55 PM
Unknown Object (File)
Jan 10 2024, 2:47 PM
Unknown Object (File)
Jan 1 2024, 9:48 PM
Unknown Object (File)
Dec 28 2023, 8:28 PM
Unknown Object (File)
Dec 2 2023, 11:46 PM

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 Not Applicable
Unit
Tests Not Applicable