diff options
author | Stanislav Fomichev <sdf@google.com> | 2019-05-28 14:14:44 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-05-29 15:17:35 +0200 |
commit | e672db03ab0e43e41ab6f8b2156a10d6e40f243d (patch) | |
tree | 0d508e5f0d220b177707211d90a206265a5aa9cb /tools/lib/bpf/libbpf.c | |
parent | dbcc1ba26e43bd32cb308e50ac4cb4a29d2f5967 (diff) | |
download | lwn-e672db03ab0e43e41ab6f8b2156a10d6e40f243d.tar.gz lwn-e672db03ab0e43e41ab6f8b2156a10d6e40f243d.zip |
bpf: tracing: properly use bpf_prog_array api
Now that we don't have __rcu markers on the bpf_prog_array helpers,
let's use proper rcu_dereference_protected to obtain array pointer
under mutex.
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@redhat.com>
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions