bpf: sockmap, hash table is RCU so readers do not need locks
authorJohn Fastabend <john.fastabend@gmail.com>
Thu, 5 Jul 2018 15:06:01 +0000 (08:06 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 7 Jul 2018 22:16:58 +0000 (15:16 -0700)
commit1d1ef005dbc6de673c62cbd2562290ada3090463
tree91b442e56a0eae99b6be5071dc95eaf2e2cddc12
parent547b3aa451ae2739585547db9fbdee11a43ff999
bpf: sockmap, hash table is RCU so readers do not need locks

This removes locking from readers of RCU hash table. Its not
necessary.

Fixes: 81110384441a ("bpf: sockmap, add hash map support")
Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/bpf/sockmap.c