mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-08 10:25:20 +02:00
selftests: forwarding: no_forwarding: Down ports on cleanup
[ Upstream commite8497d6951
] This test neglects to put ports down on cleanup. Fix it. Fixes:476a4f05d9
("selftests: forwarding: add a no_forwarding.sh test") Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/0baf91dc24b95ae0cadfdf5db05b74888e6a228a.1724430120.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
84f17718a0
commit
7e7d0bd538
|
@ -233,6 +233,9 @@ cleanup()
|
|||
{
|
||||
pre_cleanup
|
||||
|
||||
ip link set dev $swp2 down
|
||||
ip link set dev $swp1 down
|
||||
|
||||
h2_destroy
|
||||
h1_destroy
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user