bpf: export bpf_link_inc_not_zero.
authorKui-Feng Lee <thinker.li@gmail.com>
Thu, 30 May 2024 06:59:42 +0000 (23:59 -0700)
committerMartin KaFai Lau <martin.lau@kernel.org>
Thu, 30 May 2024 22:34:13 +0000 (15:34 -0700)
commit67c3e8353f45c27800eecc46e00e8272f063f7d1
tree93bf01e455328e537e1d9e441164be4264219ed2
parent1adddc97aa44c8783f9f0276ea70854d56f9f6df
bpf: export bpf_link_inc_not_zero.

bpf_link_inc_not_zero() will be used by kernel modules.  We will use it in
bpf_testmod.c later.

Signed-off-by: Kui-Feng Lee <thinker.li@gmail.com>
Link: https://lore.kernel.org/r/20240530065946.979330-5-thinker.li@gmail.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
include/linux/bpf.h
kernel/bpf/syscall.c