summaryrefslogtreecommitdiff
path: root/rust/helpers/pid_namespace.c
diff options
context:
space:
mode:
authorAmery Hung <ameryhung@gmail.com>2025-09-23 02:33:56 +0300
committerMartin KaFai Lau <martin.lau@kernel.org>2025-09-24 01:21:26 +0300
commitefec2e55bdefb889639a6e7fe1f1f2431cdddc6a (patch)
tree55c7a5032dc4336896636bbbffb8cfd9545420e0 /rust/helpers/pid_namespace.c
parent323302f54db92dc1c80ff5b114c20f19ec0adf81 (diff)
downloadlinux-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a.tar.xz
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 'rust/helpers/pid_namespace.c')
0 files changed, 0 insertions, 0 deletions