Searched hist:"43 a7c3ef8a15d19ee59214fa1d1c6bab55f9d894" (Results 1 – 4 of 4) sorted by relevance
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_lwt_redirect.c | 43a7c3ef8a15d19ee59214fa1d1c6bab55f9d894 Fri Aug 18 04:58:16 CEST 2023 Yan Zhai <yan@cloudflare.com> selftests/bpf: Add lwt_xmit tests for BPF_REDIRECT
There is no lwt_xmit test case for BPF_REDIRECT yet. Add test cases for both normal and abnormal situations. For abnormal test cases, devices are set down or have its carrier set down. Without proper fixes, BPF_REDIRECT to either ingress or egress of such device would panic the kernel.
Signed-off-by: Yan Zhai <yan@cloudflare.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/96bf435243641939d9c9da329fab29cb45f7df22.1692326837.git.yan@cloudflare.com
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | lwt_helpers.h | 43a7c3ef8a15d19ee59214fa1d1c6bab55f9d894 Fri Aug 18 04:58:16 CEST 2023 Yan Zhai <yan@cloudflare.com> selftests/bpf: Add lwt_xmit tests for BPF_REDIRECT
There is no lwt_xmit test case for BPF_REDIRECT yet. Add test cases for both normal and abnormal situations. For abnormal test cases, devices are set down or have its carrier set down. Without proper fixes, BPF_REDIRECT to either ingress or egress of such device would panic the kernel.
Signed-off-by: Yan Zhai <yan@cloudflare.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/96bf435243641939d9c9da329fab29cb45f7df22.1692326837.git.yan@cloudflare.com
|
H A D | lwt_redirect.c | 43a7c3ef8a15d19ee59214fa1d1c6bab55f9d894 Fri Aug 18 04:58:16 CEST 2023 Yan Zhai <yan@cloudflare.com> selftests/bpf: Add lwt_xmit tests for BPF_REDIRECT
There is no lwt_xmit test case for BPF_REDIRECT yet. Add test cases for both normal and abnormal situations. For abnormal test cases, devices are set down or have its carrier set down. Without proper fixes, BPF_REDIRECT to either ingress or egress of such device would panic the kernel.
Signed-off-by: Yan Zhai <yan@cloudflare.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/96bf435243641939d9c9da329fab29cb45f7df22.1692326837.git.yan@cloudflare.com
|
/linux/tools/testing/selftests/bpf/ |
H A D | config | diff 43a7c3ef8a15d19ee59214fa1d1c6bab55f9d894 Fri Aug 18 04:58:16 CEST 2023 Yan Zhai <yan@cloudflare.com> selftests/bpf: Add lwt_xmit tests for BPF_REDIRECT
There is no lwt_xmit test case for BPF_REDIRECT yet. Add test cases for both normal and abnormal situations. For abnormal test cases, devices are set down or have its carrier set down. Without proper fixes, BPF_REDIRECT to either ingress or egress of such device would panic the kernel.
Signed-off-by: Yan Zhai <yan@cloudflare.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/96bf435243641939d9c9da329fab29cb45f7df22.1692326837.git.yan@cloudflare.com
|