JIRA: https://issues.redhat.com/browse/RHEL-30774
Conflicts: context change due to missing upstream commit bbb1cfdd02249
("selftests/bpf: Implement socket kfuncs for bpf_testmod")
commit 2d45ab1eda469c802728d0a74e1601de5e71c098
Author: Vadim Fedorenko <vadfed@meta.com>
Date: Thu Jun 13 14:18:17 2024 -0700
selftests: bpf: add testmod kfunc for nullable params
Add special test to be sure that only __nullable BTF params can be
replaced by NULL. This patch adds fake kfuncs in bpf_testmod to
properly test different params.
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Signed-off-by: Vadim Fedorenko <vadfed@meta.com>
Link: https://lore.kernel.org/r/20240613211817.1551967-6-vadfed@meta.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Viktor Malik <vmalik@redhat.com>