Message ID | 20241002051016.849-1-kac.ludwinski@icloud.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 9f49d14ec41ce7be647028d7d34dea727af55272 |
Headers | show |
Series | [net,v5] selftests: net: no_forwarding: fix VID for $swp2 in one_bridge_two_pvids() test | expand |
Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski <kuba@kernel.org>: On Wed, 2 Oct 2024 14:10:16 +0900 you wrote: > Currently, the second bridge command overwrites the first one. > Fix this by adding this VID to the interface behind $swp2. > > The one_bridge_two_pvids() test intends to check that there is no > leakage of traffic between bridge ports which have a single VLAN - the > PVID VLAN. > > [...] Here is the summary with links: - [net,v5] selftests: net: no_forwarding: fix VID for $swp2 in one_bridge_two_pvids() test https://git.kernel.org/netdev/net/c/9f49d14ec41c You are awesome, thank you!
diff --git a/tools/testing/selftests/net/forwarding/no_forwarding.sh b/tools/testing/selftests/net/forwarding/no_forwarding.sh index 9e677aa64a06..694ece9ba3a7 100755 --- a/tools/testing/selftests/net/forwarding/no_forwarding.sh +++ b/tools/testing/selftests/net/forwarding/no_forwarding.sh @@ -202,7 +202,7 @@ one_bridge_two_pvids() ip link set $swp2 master br0 bridge vlan add dev $swp1 vid 1 pvid untagged - bridge vlan add dev $swp1 vid 2 pvid untagged + bridge vlan add dev $swp2 vid 2 pvid untagged run_test "Switch ports in VLAN-aware bridge with different PVIDs"