]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
bpf: Remove WARN_ON_ONCE in check_kfunc_mem_size_reg()
authorYonghong Song <yonghong.song@linux.dev>
Thu, 23 Apr 2026 03:34:41 +0000 (20:34 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 23 Apr 2026 14:54:50 +0000 (07:54 -0700)
commit8a16c5b2b22ff22c1a2e3ff92cc991990efceb38
treee1b7baa242b7c995877b12e53aee13a30cd569a9
parent54c27ea6dadbe932a955bf40b7837947c5c202e1
bpf: Remove WARN_ON_ONCE in check_kfunc_mem_size_reg()

The warning is too late if it does happen. Remove it.

Acked-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Signed-off-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20260423033441.2538149-1-yonghong.song@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/bpf/verifier.c