diff options
| author | Sasha Levin <sasha.levin@oracle.com> | 2016-02-19 13:53:10 -0500 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2022-04-19 00:49:56 +0300 |
| commit | e0834ff25b4daac0609866c8f6787f28e6a02abd (patch) | |
| tree | 0a499d965fd0f996a91478cf2301fb3c8ec4a907 /include/linux/timerqueue.h | |
| parent | 6770f84036222df4271ff70253c2119626b17c82 (diff) | |
bpf: grab rcu read lock for bpf_percpu_hash_update
bpf_percpu_hash_update() expects rcu lock to be held and warns if it's not,
which pointed out a missing rcu read lock.
Fixes: 15a07b338 ("bpf: add lookup/update support for per-cpu hash and array maps")
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chatur27 <jasonbright2709@gmail.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
