OSDN Git Service

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)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Oct 2021 12:58:21 +0000 (13:58 +0100)
commit34d7ecb3d4f772eb00ce1f7195ae30886ddf4d2e
tree6424b7e74dd98e06644610d5253886f9e15547aa
parent829e050eea69c7442441b714b6f5b339b5b8c367
selftests: net: bridge: update IGMP/MLD membership interval value

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>
tools/testing/selftests/net/forwarding/bridge_igmp.sh
tools/testing/selftests/net/forwarding/bridge_mld.sh