]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ipv4: igmp: get rid of IGMPV3_{QQIC,MRC} and simplify calculation
authorUjjal Roy <royujjal@gmail.com>
Sat, 2 May 2026 13:19:02 +0000 (13:19 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 5 May 2026 02:09:41 +0000 (19:09 -0700)
commit726fa7da2d8c9c021eefad178097448b0356a284
tree8eda78a50aa63a7b9efda99151fa5a99be63766c
parent43c6720d342f6aa37bfdff7acf2f3681b0854c42
ipv4: igmp: get rid of IGMPV3_{QQIC,MRC} and simplify calculation

Get rid of the IGMPV3_MRC macro and use the igmpv3_mrt() API to
calculate the Max Resp Time from the Maximum Response Code.

Similarly, for IGMPV3_QQIC, use the igmpv3_qqi() API to calculate
the Querier's Query Interval from the QQIC field.

Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Ujjal Roy <royujjal@gmail.com>
Link: https://patch.msgid.link/20260502131907.987-2-royujjal@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/igmp.h
net/bridge/br_multicast.c
net/ipv4/igmp.c