]> git.baikalelectronics.ru Git - kernel.git/commit
tc-testing: fix tdc tests for 'bpf' action
authorDavide Caratti <dcaratti@redhat.com>
Wed, 9 May 2018 16:45:42 +0000 (18:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 May 2018 21:28:02 +0000 (17:28 -0400)
commit4aee29c2db74cdad80b9e7645fe88785920be8ca
tree5211ffed82e77bc8406edcab2808d61c72881393
parent809274a5b9cc0273aa7509421b6183102ebd3a18
tc-testing: fix tdc tests for 'bpf' action

- correct a typo in the value of 'matchPattern' of test 282d, potentially
 causing false negative
- allow errors when 'teardown' executes '$TC action flush action bpf' in
 test 282d, to fix false positive when it is run with act_bpf unloaded
- correct the value of 'matchPattern' in test e939, causing false positive
 in case the BPF JIT is enabled

Fixes: 75eb937ffb20 ("tc-testing: add selftests for 'bpf' action")
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Acked-by: Lucas Bates <lucasb@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/tc-testing/tc-tests/actions/bpf.json