]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'bpf-sockmap-test-fixes'
authorDaniel Borkmann <daniel@iogearbox.net>
Sat, 2 Jun 2018 04:13:57 +0000 (06:13 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Sat, 2 Jun 2018 04:13:58 +0000 (06:13 +0200)
commitd30f073d1822a9d7375638d46636013857510eef
treec01301beebd0a9efe75e5e0953457cb7c427a1eb
parente3039c4333cdd21828dea7daace673c9a39d52db
parentc564869d651b009fea43b7774aba112ae654525a
Merge branch 'bpf-sockmap-test-fixes'

Prashant Bhole says:

====================
test_sockmap was originally written only to exercise kernel code
paths, so there was no strict checking of errors. When the code was
modified to run as selftests, due to lack of error handling it was not
able to detect test failures.

In order to improve, this series fixes error handling, test run time
and data verification.

Also slightly improved test output by printing parameter values (cork,
apply, start, end) so that parameters for all tests are displayed.

Changes in v4:
  - patch1: Ignore RX timoute error only for corked tests
  - patch3: Setting different timeout for corked tests and reduce
      run time by reducing number of iterations in some tests

Changes in v3:
  - Skipped error checking for corked tests
====================

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>