]> 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)
commit0d688909b40c6a1237e2084258952a29f6e44963
tree5211ffed82e77bc8406edcab2808d61c72881393
parent75cb2119905ceedd03a058a43439f090b85b3043
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: 950b63d4478d ("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