diff options
| author | Jesper Dangaard Brouer <[email protected]> | 2021-02-09 13:38:34 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2021-02-13 00:15:28 +0000 |
| commit | 6b8838be7e21edb620099e01eb040c21c5190494 (patch) | |
| tree | f81c32dc4ec665afc308c15a97371a99a7fd3ef4 /net/ipv6/tcp_ipv6.c | |
| parent | bpf: Drop MTU check when doing TC-BPF redirect to ingress (diff) | |
| download | kernel-6b8838be7e21edb620099e01eb040c21c5190494.tar.gz kernel-6b8838be7e21edb620099e01eb040c21c5190494.zip | |
selftests/bpf: Use bpf_check_mtu in selftest test_cls_redirect
This demonstrate how bpf_check_mtu() helper can easily be used together
with bpf_skb_adjust_room() helper, prior to doing size adjustment, as
delta argument is already setup.
Hint: This specific test can be selected like this:
./test_progs -t cls_redirect
Signed-off-by: Jesper Dangaard Brouer <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: John Fastabend <[email protected]>
Link: https://lore.kernel.org/bpf/161287791481.790810.4444271170546646080.stgit@firesoul
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions
