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

Nikolay Aleksandrov <[email protected]> Sat, 2 May 2026 09:02:32 +0300
Newsgroups dev.linux.lists.bridge,org.kernel.vger.linux-kernel,org.kernel.vger.linux-kselftest,org.kernel.vger.netdev
Message-ID <[email protected]>
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 <[email protected]>
> Signed-off-by: Ujjal Roy <[email protected]>
> ---
>   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 <[email protected]>