diff options
author | 2024-09-30 10:41:15 +0800 | |
---|---|---|
committer | 2024-10-07 20:28:40 -0700 | |
commit | 4236f114a3ffbbfd217436c08852e94cae372f57 (patch) | |
tree | fdf6d4dae1f84c0518607384607b9174eaf74bdd /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | selftests: bpf: Add missing per-arch include path (diff) | |
download | wireguard-linux-4236f114a3ffbbfd217436c08852e94cae372f57.tar.xz wireguard-linux-4236f114a3ffbbfd217436c08852e94cae372f57.zip |
bpf: Fix the xdp_adjust_tail sample prog issue
During the xdp_adjust_tail test, probabilistic failure occurs and SKB package
is discarded by the kernel. After checking the issues by tracking SKB package,
it is identified that they were caused by checksum errors. Refer to checksum
of the arch/arm64/include/asm/checksum.h for fixing.
v2: Based on Alexei Starovoitov's suggestions, it is necessary to keep the code
implementation consistent.
Fixes: c6ffd1ff7856 (bpf: add bpf_xdp_adjust_tail sample prog)
Signed-off-by: Yuan Chen <chenyuan@kylinos.cn>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20240930024115.52841-1-chenyuan_fl@163.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions