]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests: net: bridge: update IGMP/MLD membership interval value
authorNikolay Aleksandrov <nikolay@nvidia.com>
Fri, 29 Oct 2021 12:05:27 +0000 (15:05 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Nov 2021 10:04:18 +0000 (11:04 +0100)
commit1d070939821304cf47070f9d53e9288084b0b0a8
tree351774e6ebd99505cde099ebb961df90d69f48d5
parentfe5bffbf621440412aeb9e8d34d8d6881f72cd84
selftests: net: bridge: update IGMP/MLD membership interval value

[ Upstream commit 34d7ecb3d4f772eb00ce1f7195ae30886ddf4d2e ]

When I fixed IGMPv3/MLDv2 to use the bridge's multicast_membership_interval
value which is chosen by user-space instead of calculating it based on
multicast_query_interval and multicast_query_response_interval I forgot
to update the selftests relying on that behaviour. Now we have to
manually set the expected GMI value to perform the tests correctly and get
proper results (similar to IGMPv2 behaviour).

Fixes: fac3cb82a54a ("net: bridge: mcast: use multicast_membership_interval for IGMPv3")
Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/net/forwarding/bridge_igmp.sh
tools/testing/selftests/net/forwarding/bridge_mld.sh