]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
bpf: drop kthread_exit from noreturn_deny
authorChristian Loehle <christian.loehle@arm.com>
Fri, 6 Mar 2026 10:49:18 +0000 (10:49 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Mar 2026 15:15:33 +0000 (16:15 +0100)
commitac8befc7fe3c325ebdf10f6dfc458260f8b98114
treec70d5cd1501ea4477175b368ef457724ba123c51
parent54b898e761b3e52d828bafe95cf41d3c238fd8a9
bpf: drop kthread_exit from noreturn_deny

commit 7fe44c4388146bdbb3c5932d81a26d9fa0fd3ec9 upstream.

kthread_exit became a macro to do_exit in commit 28aaa9c39945
("kthread: consolidate kthread exit paths to prevent use-after-free"),
so there is no kthread_exit function BTF ID to resolve. Remove it from
noreturn_deny to avoid resolve_btfids unresolved symbol warnings.

Signed-off-by: Christian Loehle <christian.loehle@arm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/bpf/verifier.c