summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPaul Chaignon <paul.chaignon@gmail.com>2025-04-08 11:00:51 +0200
committerAlexei Starovoitov <ast@kernel.org>2025-04-09 20:07:31 -0700
commit5a15a050df714959f0d5a57ac3201bd1c6594984 (patch)
tree1d4e09bcdc57f7354bfaf0930eb9a8a00aee7332 /tools/perf/scripts/python/export-to-sqlite.py
parentb412fd6bcc4c1696b0674434f56b198950c0e2bf (diff)
bpf: Clarify the meaning of BPF_F_PSEUDO_HDR
In the bpf_l4_csum_replace helper, the BPF_F_PSEUDO_HDR flag should only be set if the modified header field is part of the pseudo-header. If you modify for example the UDP ports and pass BPF_F_PSEUDO_HDR, inet_proto_csum_replace4 will update skb->csum even though it shouldn't (the port and the UDP checksum updates null each other). Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com> Link: https://lore.kernel.org/r/5126ef84ba75425b689482cbc98bffe75e5d8ab0.1744102490.git.paul.chaignon@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions