Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 15a07b3 ("bpf: add lookup/update support for per-cpu hash and array maps") Signed-off-by: Sasha Levin <[email protected]> Acked-by: Alexei Starovoitov <[email protected]> Acked-by: Daniel Borkmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information