diff options
author | Nikita V. Shirokov <tehnerd@tehnerd.com> | 2018-04-17 21:42:22 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-04-18 23:34:17 +0200 |
commit | 0367d0a29427d5916b98cf31dfc85a8293540614 (patch) | |
tree | 1fb815b56707d8a4affc19d5741fb699bbce5aa7 /firmware | |
parent | 587b80cce95b8aab89e5e35033953c005dc47f01 (diff) | |
download | blackbird-op-linux-0367d0a29427d5916b98cf31dfc85a8293540614.tar.gz blackbird-op-linux-0367d0a29427d5916b98cf31dfc85a8293540614.zip |
bpf: adding tests for bpf_xdp_adjust_tail
adding selftests for bpf_xdp_adjust_tail helper. in this synthetic test
we are testing that 1) if data_end < data helper will return EINVAL
2) for normal use case packet's length would be reduced.
Signed-off-by: Nikita V. Shirokov <tehnerd@tehnerd.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions