Message ID | 20211015090546.19967-1-razor@blackwall.org (mailing list archive) |
---|---|
State | Accepted |
Commit | fac3cb82a54a4b7c49c932f96ef196cf5774344c |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net] net: bridge: mcast: use multicast_membership_interval for IGMPv3 | expand |
Context | Check | Description |
---|---|---|
netdev/cover_letter | success | Single patches do not need cover letters |
netdev/fixes_present | success | Fixes tag present in non-next series |
netdev/patch_count | success | Link |
netdev/tree_selection | success | Clearly marked for net |
netdev/subject_prefix | success | Link |
netdev/cc_maintainers | success | CCed 6 of 6 maintainers |
netdev/source_inline | success | Was 0 now: 0 |
netdev/verify_signedoff | success | Signed-off-by tag matches author and committer |
netdev/module_param | success | Was 0 now: 0 |
netdev/build_32bit | success | Errors and warnings before: 3 this patch: 3 |
netdev/kdoc | success | Errors and warnings before: 3 this patch: 3 |
netdev/verify_fixes | success | Fixes tag looks correct |
netdev/checkpatch | success | total: 0 errors, 0 warnings, 0 checks, 10 lines checked |
netdev/build_allmodconfig_warn | success | Errors and warnings before: 3 this patch: 3 |
netdev/header_inline | success | No static functions without inline keyword in header files |
Hello: This patch was applied to netdev/net.git (master) by David S. Miller <davem@davemloft.net>: On Fri, 15 Oct 2021 12:05:46 +0300 you wrote: > From: Nikolay Aleksandrov <nikolay@nvidia.com> > > When I added IGMPv3 support I decided to follow the RFC for computing > the GMI dynamically: > " 8.4. Group Membership Interval > > The Group Membership Interval is the amount of time that must pass > before a multicast router decides there are no more members of a > group or a particular source on a network. > > [...] Here is the summary with links: - [net] net: bridge: mcast: use multicast_membership_interval for IGMPv3 https://git.kernel.org/netdev/net/c/fac3cb82a54a You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index b4cef3a97f12..5c68052466a0 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h @@ -1125,9 +1125,7 @@ static inline unsigned long br_multicast_lmqt(const struct net_bridge_mcast *brm static inline unsigned long br_multicast_gmi(const struct net_bridge_mcast *brmctx) { - /* use the RFC default of 2 for QRV */ - return 2 * brmctx->multicast_query_interval + - brmctx->multicast_query_response_interval; + return brmctx->multicast_membership_interval; } static inline bool