commit | 0367d0a29427d5916b98cf31dfc85a8293540614 | [log] [tgz] |
---|---|---|
author | Nikita V. Shirokov <tehnerd@tehnerd.com> | Tue Apr 17 21:42:22 2018 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Wed Apr 18 23:34:17 2018 +0200 |
tree | 1fb815b56707d8a4affc19d5741fb699bbce5aa7 | |
parent | 587b80cce95b8aab89e5e35033953c005dc47f01 [diff] |
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>