mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
selftests: forwarding: local_termination: Down ports on cleanup
[ Upstream commit 65a3cce43d5b4c53cf16b0be1a03991f665a0806 ]
This test neglects to put ports down on cleanup. Fix it.
Fixes: 90b9566aa5 ("selftests: forwarding: add a test for local_termination.sh")
Signed-off-by: Petr Machata <petrm@nvidia.com>
Link: https://patch.msgid.link/bf9b79f45de378f88344d44550f0a5052b386199.1724692132.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
5cdcf0d733
commit
3308410c4e
@@ -278,6 +278,10 @@ bridge()
|
|||||||
cleanup()
|
cleanup()
|
||||||
{
|
{
|
||||||
pre_cleanup
|
pre_cleanup
|
||||||
|
|
||||||
|
ip link set $h2 down
|
||||||
|
ip link set $h1 down
|
||||||
|
|
||||||
vrf_cleanup
|
vrf_cleanup
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user