selftests: net: Fix netdev name mismatch in cleanup

[ Upstream commit b2c0921b92 ]

lag_lib.sh creates the interfaces dummy1 and dummy2 whereas
dev_addr_lists.sh:destroy() deletes the interfaces dummy0 and dummy1. Fix
the mismatch in names.

Fixes: bbb774d921 ("net: Add tests for bonding and team address list management")
Signed-off-by: Benjamin Poirier <bpoirier@nvidia.com>
Reviewed-by: Jonathan Toppins <jtoppins@redhat.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Benjamin Poirier 2022-10-19 18:10:42 +09:00 committed by Greg Kroah-Hartman
parent ae22b2fb39
commit 8df70d6ee3
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ source "$lib_dir"/lag_lib.sh
destroy()
{
local ifnames=(dummy0 dummy1 team0 mv0)
local ifnames=(dummy1 dummy2 team0 mv0)
local ifname
for ifname in "${ifnames[@]}"; do