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
F102981047: D41628.id.diff
Tue, Nov 19, 10:57 AM
Unknown Object (File)
Fri, Nov 8, 10:11 AM
Unknown Object (File)
Fri, Nov 8, 6:56 AM
Unknown Object (File)
Mon, Oct 21, 7:35 PM
Unknown Object (File)
Oct 21 2024, 12:37 AM
Unknown Object (File)
Oct 21 2024, 12:37 AM
Unknown Object (File)
Oct 21 2024, 12:37 AM
Unknown Object (File)
Oct 18 2024, 7:12 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