summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorNikita V. Shirokov <tehnerd@tehnerd.com>2018-04-18 07:42:22 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2018-04-19 00:34:17 +0300
commit0367d0a29427d5916b98cf31dfc85a8293540614 (patch)
tree1fb815b56707d8a4affc19d5741fb699bbce5aa7 /samples
parent587b80cce95b8aab89e5e35033953c005dc47f01 (diff)
downloadlinux-0367d0a29427d5916b98cf31dfc85a8293540614.tar.xz
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 'samples')
0 files changed, 0 insertions, 0 deletions