]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests: net: bridge: increase IGMP/MLD exclude timeout membership interval
authorNikolay Aleksandrov <razor@blackwall.org>
Mon, 13 May 2024 10:52:57 +0000 (13:52 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Jun 2024 11:39:33 +0000 (13:39 +0200)
commitd449edd8063eb6cb37be350ed3170782c00a65c8
tree1e957ac4a184a6a5f49b941ef9b756d813994e13
parentca759d47ec499c54312f8d793be3217298fb550c
selftests: net: bridge: increase IGMP/MLD exclude timeout membership interval

[ Upstream commit 06080ea23095afe04a2cb7a8d05fab4311782623 ]

When running the bridge IGMP/MLD selftests on debug kernels we can get
spurious errors when setting up the IGMP/MLD exclude timeout tests
because the membership interval is just 3 seconds and the setup has 2
seconds of sleep plus various validations, the one second that is left
is not enough. Increase the membership interval from 3 to 5 seconds to
make room for the setup validation and 2 seconds of sleep.

Fixes: 34d7ecb3d4f7 ("selftests: net: bridge: update IGMP/MLD membership interval value")
Reported-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Nikolay Aleksandrov <razor@blackwall.org>
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