summaryrefslogtreecommitdiffstats
path: root/kernel/dma
diff options
context:
space:
mode:
authorAmol Grover <frextrite@gmail.com>2020-01-23 17:34:38 +0530
committerDaniel Borkmann <daniel@iogearbox.net>2020-01-23 23:01:16 +0100
commit485ec2ea9cf556e9c120e07961b7b459d776a115 (patch)
tree7170cfb46a0798200b85e08e1116b368f82820ba /kernel/dma
parentfd786fb1d2cad70b9aaba8c73872cbf63262bd58 (diff)
downloadlinux-485ec2ea9cf556e9c120e07961b7b459d776a115.tar.bz2
bpf, devmap: Pass lockdep expression to RCU lists
head is traversed using hlist_for_each_entry_rcu outside an RCU read-side critical section but under the protection of dtab->index_lock. Hence, add corresponding lockdep expression to silence false-positive lockdep warnings, and harden RCU lists. Fixes: 6f9d451ab1a3 ("xdp: Add devmap_hash map type for looking up devices by hashed index") Signed-off-by: Amol Grover <frextrite@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Jesper Dangaard Brouer <brouer@redhat.com> Acked-by: Toke Høiland-Jørgensen <toke@redhat.com> Link: https://lore.kernel.org/bpf/20200123120437.26506-1-frextrite@gmail.com
Diffstat (limited to 'kernel/dma')
0 files changed, 0 insertions, 0 deletions