diff options
author | Amery Hung <ameryhung@gmail.com> | 2025-09-22 16:33:56 -0700 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2025-09-23 15:21:26 -0700 |
commit | efec2e55bdefb889639a6e7fe1f1f2431cdddc6a (patch) | |
tree | 55c7a5032dc4336896636bbbffb8cfd9545420e0 /scripts/gdb/linux/timerlist.py | |
parent | 323302f54db92dc1c80ff5b114c20f19ec0adf81 (diff) |
selftests: drv-net: Pull data before parsing headers
It is possible for drivers to generate xdp packets with data residing
entirely in fragments. To keep parsing headers using direct packet
access, call bpf_xdp_pull_data() to pull headers into the linear data
area.
Signed-off-by: Amery Hung <ameryhung@gmail.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20250922233356.3356453-9-ameryhung@gmail.com
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions