aboutsummaryrefslogtreecommitdiff
path: root/kernel/bpf/helpers.c
diff options
context:
space:
mode:
authorMartin KaFai Lau <[email protected]>2022-12-06 11:35:54 -0800
committerAlexei Starovoitov <[email protected]>2022-12-06 12:42:38 -0800
commitaa67961f3243dfff26c47769f87b4d94b07ec71f (patch)
tree44da0e18495e15d321e6ea98274a51d16fac3a6d /kernel/bpf/helpers.c
parentfa55ef14ef4fe06198c0ce811b603aec24134bc2 (diff)
selftests/bpf: Allow building bpf tests with CONFIG_XFRM_INTERFACE=[m|n]
It is useful to use vmlinux.h in the xfrm_info test like other kfunc tests do. In particular, it is common for kfunc bpf prog that requires to use other core kernel structures in vmlinux.h Although vmlinux.h is preferred, it needs a ___local flavor of struct bpf_xfrm_info in order to build the bpf selftests when CONFIG_XFRM_INTERFACE=[m|n]. Cc: Eyal Birger <[email protected]> Fixes: 90a3a05eb33f ("selftests/bpf: add xfrm_info tests") Signed-off-by: Martin KaFai Lau <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'kernel/bpf/helpers.c')
0 files changed, 0 insertions, 0 deletions