diff options
author | Stanislav Fomichev <sdf@google.com> | 2022-11-21 10:03:40 -0800 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2022-11-21 12:47:04 -0800 |
commit | 68f8e3d4b916531ea3bb8b83e35138cf78f2fce5 (patch) | |
tree | 53db79068d2a84a990ea73a1fe8f3eb6107ffe90 /tools/testing/selftests/bpf/progs/test_tcpbpf_kern.c | |
parent | 114039b342014680911c35bd6b72624180fd669a (diff) |
selftests/bpf: Make sure zero-len skbs aren't redirectable
LWT_XMIT to test L3 case, TC to test L2 case.
v2:
- s/veth_ifindex/ipip_ifindex/ in two places (Martin)
- add comment about which condition triggers the rejection (Martin)
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Link: https://lore.kernel.org/r/20221121180340.1983627-2-sdf@google.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_tcpbpf_kern.c')
0 files changed, 0 insertions, 0 deletions