Re: [PATCH net-next v5 1/5] ipv4: igmp: get rid of IGMPV3_{QQIC,MRC} and simplify calculation

From: Nikolay Aleksandrov

Date: Sat May 02 2026 - 02:02:55 EST


On 01/05/2026 20:31, Ujjal Roy wrote:
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: Ido Schimmel <idosch@xxxxxxxxxx>
Signed-off-by: Ujjal Roy <royujjal@xxxxxxxxx>
---
include/linux/igmp.h | 80 +++++++++++++++++++++++++++++++++++----
net/bridge/br_multicast.c | 2 +-
net/ipv4/igmp.c | 6 +--
3 files changed, 76 insertions(+), 12 deletions(-)


Reviewed-by: Nikolay Aleksandrov <razor@xxxxxxxxxxxxx>