mirror_ubuntu-kernels/tools/testing/selftests/drivers/net/bonding
Zhengchao Shao bf68583624 selftests: bonding: create directly devices in the target namespaces
If failed to set link1_1 to netns client, we should delete link1_1 in the
cleanup path. But if set link1_1 to netns client successfully, delete
link1_1 will report warning. So it will be safer creating directly the
devices in the target namespaces.

Reported-by: Hangbin Liu <liuhangbin@gmail.com>
Closes: https://lore.kernel.org/all/ZNyJx1HtXaUzOkNA@Laptop-X1/
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Acked-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-08-28 10:24:08 +01:00
..
bond_macvlan.sh selftests: bonding: add macvlan over bond testing 2023-08-24 10:07:13 +02:00
bond_options.sh selftest: bond: add new topo bond_topo_2d1c.sh 2023-08-24 10:07:13 +02:00
bond_topo_2d1c.sh selftest: bond: add new topo bond_topo_2d1c.sh 2023-08-24 10:07:13 +02:00
bond_topo_3d1c.sh selftest: bond: add new topo bond_topo_2d1c.sh 2023-08-24 10:07:13 +02:00
bond-arp-interval-causes-panic.sh selftests: bonding: create directly devices in the target namespaces 2023-08-28 10:24:08 +01:00
bond-break-lacpdu-tx.sh selftests: bonding: do not set port down before adding to bond 2023-08-21 19:05:42 -07:00
bond-eth-type-change.sh selftests: bonding: delete unnecessary line 2023-05-10 10:06:42 +01:00
bond-lladdr-target.sh selftests/bonding: add a test for bonding lladdr target 2022-09-20 08:57:23 -07:00
config
dev_addr_lists.sh selftests: net: Fix cross-tree inclusion of scripts 2022-10-20 21:09:22 -07:00
lag_lib.sh selftests: bonding: up/down delay w/ slave link flapping 2022-11-23 20:14:48 -08:00
Makefile selftests: bonding: add macvlan over bond testing 2023-08-24 10:07:13 +02:00
mode-1-recovery-updelay.sh selftests: bonding: up/down delay w/ slave link flapping 2022-11-23 20:14:48 -08:00
mode-2-recovery-updelay.sh selftests: bonding: up/down delay w/ slave link flapping 2022-11-23 20:14:48 -08:00
net_forwarding_lib.sh selftests: net: Fix cross-tree inclusion of scripts 2022-10-20 21:09:22 -07:00
settings selftests: bonding: up/down delay w/ slave link flapping 2022-11-23 20:14:48 -08:00