mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-08 10:25:20 +02:00
selftests: forwarding: local_termination: Down ports on cleanup
[ Upstream commit65a3cce43d
] 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:
parent
7e7d0bd538
commit
7aa9f978c2
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user