summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMykyta Yatsenko <yatsenko@meta.com>2025-10-26 23:38:51 +0300
committerAlexei Starovoitov <ast@kernel.org>2025-10-27 19:56:27 +0300
commitd869d56ca848415b1169ba08b4f92a32968de8a2 (patch)
treedbc745b6c5cdb5654fd6105458be92f790658d2c /include/linux
parente3e36edb1b8f0e6975c68acd2e1202ec0397fd75 (diff)
downloadlinux-d869d56ca848415b1169ba08b4f92a32968de8a2.tar.xz
bpf: verifier: refactor kfunc specialization
Move kfunc specialization (function address substitution) to later stage of verification to support a new use case, where we need to take into consideration whether kfunc is called in sleepable context. Minor refactoring in add_kfunc_call(), making sure that if function fails, kfunc desc is not added to tab->descs (previously it could be added or not, depending on what failed). Signed-off-by: Mykyta Yatsenko <yatsenko@meta.com> Acked-by: Eduard Zingerman <eddyz87@gmail.com> Link: https://lore.kernel.org/r/20251026203853.135105-9-mykyta.yatsenko5@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions