]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
Merge branch 'bpf-fix-recursive-lock-and-add-test'
authorJakub Kicinski <kuba@kernel.org>
Tue, 19 Nov 2024 03:40:01 +0000 (19:40 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 19 Nov 2024 03:40:01 +0000 (19:40 -0800)
Jiayuan Chen says:

====================
bpf: fix recursive lock and add test

1. fix recursive lock when ebpf prog return SK_PASS.
2. add selftest to reproduce recursive lock.

Note that the test code can reproduce the 'dead-lock' and if just
the selftest merged without first patch, the test case will
definitely fail, because the issue of deadlock is inevitable.

v1: https://lore.kernel.org/55fc6114-7e64-4b65-86d2-92cfd1e9e92f@linux.dev/
====================

Acked-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20241118030910.36230-1-mrpre@163.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge