diff options
author | Jesper Dangaard Brouer <brouer@redhat.com> | 2021-02-09 16:38:39 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2021-02-13 03:15:28 +0300 |
commit | b62eba563229fc7c51af41b55fc67c4778d85bb7 (patch) | |
tree | 0176df13ed34d258ad2be687d389ace641768ca0 /kernel/bpf | |
parent | 6b8838be7e21edb620099e01eb040c21c5190494 (diff) | |
download | linux-b62eba563229fc7c51af41b55fc67c4778d85bb7.tar.xz |
selftests/bpf: Tests using bpf_check_mtu BPF-helper
Adding selftest for BPF-helper bpf_check_mtu(). Making sure
it can be used from both XDP and TC.
V16:
- Fix 'void' function definition
V11:
- Addresse nitpicks from Andrii Nakryiko
V10:
- Remove errno non-zero test in CHECK_ATTR()
- Addresse comments from Andrii Nakryiko
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/161287791989.790810.13612620012522164562.stgit@firesoul
Diffstat (limited to 'kernel/bpf')
0 files changed, 0 insertions, 0 deletions