]> 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)
commit2a8fc825695ea4de9b62bc4c3aa6ade65e71fd9e
treec01301beebd0a9efe75e5e0953457cb7c427a1eb
parentf403e0ee4213a61f332ad5a413f40ff6b6e4dcdb
parent4e068b373cd765a03d36a2ba8e6fa41df32379b6
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>