diff --git a/kernel/bpf/trampoline.c b/kernel/bpf/trampoline.c index f42f700c1d2813b7c45232398fbc55e83685261e..f30bca2a4d019e7d43c4990bd52f9c33ec2bd6fd 100644 --- a/kernel/bpf/trampoline.c +++ b/kernel/bpf/trampoline.c @@ -352,6 +352,7 @@ void bpf_trampoline_put(struct bpf_trampoline *tr) * call __bpf_prog_exit */ u64 notrace __bpf_prog_enter(void) + __acquires(RCU) { u64 start = 0; @@ -363,6 +364,7 @@ u64 notrace __bpf_prog_enter(void) } void notrace __bpf_prog_exit(struct bpf_prog *prog, u64 start) + __releases(RCU) { struct bpf_prog_stats *stats;