diff options
author | 2016-02-19 13:53:10 -0500 | |
---|---|---|
committer | 2016-02-19 14:37:43 -0500 | |
commit | 6bbd9a05a1f9839873a9290b5b7c6fafde8447ba (patch) | |
tree | 4f83f561ca91b3c20d191b71be112dda636b0e5e /lib/bitmap.c | |
parent | Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue (diff) | |
download | wireguard-linux-6bbd9a05a1f9839873a9290b5b7c6fafde8447ba.tar.xz wireguard-linux-6bbd9a05a1f9839873a9290b5b7c6fafde8447ba.zip |
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>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions