]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
bpf: Refactor cleanup of bpf_prog_test_run_skb
authorPaul Chaignon <paul.chaignon@gmail.com>
Thu, 9 Oct 2025 20:11:07 +0000 (22:11 +0200)
committerMartin KaFai Lau <martin.lau@kernel.org>
Fri, 10 Oct 2025 17:43:03 +0000 (10:43 -0700)
commitd8accf661fcf3088ef4c349ab56ecd19a5071b19
treea216a7dfeacf92149e7d3433228e729ac14ec014
parent2e36338df42d64955236d9f9b665d1443fd74f8c
bpf: Refactor cleanup of bpf_prog_test_run_skb

This bit of refactoring aims to simplify how we free memory in
bpf_prog_test_run_skb to avoid code duplication.

Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Tested-by: syzbot@syzkaller.appspotmail.com
Link: https://patch.msgid.link/8971e01ae87b84f5af6b8b40defd3c310faf1c0f.1760037899.git.paul.chaignon@gmail.com
net/bpf/test_run.c