summaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2022-03-18 15:46:59 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2022-03-18 15:47:04 +0100
commit63cc8e20b384d5ea10a4df330d8b9cf2f14eb64c (patch)
tree0c5f7fffe2b308ba022fd0263a5cb412a88c0e09 /tools/bpf/bpftool
parent60911970b0163f28495d4d3d669d8f5803df8cf1 (diff)
parentdeb59400464468352b4d7827420e04f1add94726 (diff)
downloadlinux-63cc8e20b384d5ea10a4df330d8b9cf2f14eb64c.tar.bz2
Merge branch 'bpf-fix-sock-field-tests'
Jakub Sitnicki says: ==================== I think we have reached a consensus [1] on how the test for the 4-byte load from bpf_sock->dst_port and bpf_sk_lookup->remote_port should look, so here goes v3. I will submit a separate set of patches for bpf_sk_lookup->remote_port tests. This series has been tested on x86_64 and s390 on top of recent bpf-next - ad13baf45691 ("selftests/bpf: Test subprog jit when toggle bpf_jit_harden repeatedly"). [1] https://lore.kernel.org/bpf/87k0cwxkzs.fsf@cloudflare.com/ v2 -> v3: - Split what was previously patch 2 which was doing two things - Use BPF_TCP_* constants (Martin) - Treat the result of 4-byte load from dst_port as a 16-bit value (Martin) - Typo fixup and some rewording in patch 4 description v1 -> v2: - Limit read_sk_dst_port only to client traffic (patch 2) - Make read_sk_dst_port pass on litte- and big-endian (patch 3) v1: https://lore.kernel.org/bpf/20220225184130.483208-1-jakub@cloudflare.com/ v2: https://lore.kernel.org/bpf/20220227202757.519015-1-jakub@cloudflare.com/ ==================== Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/bpf/bpftool')
0 files changed, 0 insertions, 0 deletions