]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tc-testing: flush gact actions on test teardown
authorVlad Buslov <vladbu@mellanox.com>
Sun, 5 Aug 2018 19:36:25 +0000 (22:36 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Sep 2018 20:41:24 +0000 (22:41 +0200)
commit86bebb604160953ba74928ca57265de40fa48d8b
tree52663037c4cc22b4a55dffa1516e5ffa956c407b
parente114758826f53c644052c957440a9b1cf0d4bb44
tc-testing: flush gact actions on test teardown

[ Upstream commit 0c62f8a820b7fdeacf5ad9f9e24b53043d372c97 ]

Test 6fb4 creates one mirred and one pipe action, but only flushes mirred
on teardown. Leaking pipe action causes failures in other tests.

Add additional teardown command to also flush gact actions.

Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/tc-testing/tc-tests/actions/mirred.json