Thread (8 messages) 8 messages, 4 authors, 2020-01-23

Re: [Linux-kernel-mentees] [PATCH] bpf: devmap: Pass lockdep expression to RCU lists

From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2020-01-23 22:04:45
Also in: bpf, lkml, netdev

On 1/23/20 6:18 PM, Amol Grover wrote:
On Thu, Jan 23, 2020 at 05:34:38PM +0530, Amol Grover wrote:
quoted
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")
quoted
Signed-off-by: Amol Grover <redacted>
Applied, thanks!
_______________________________________________
Linux-kernel-mentees mailing list
Linux-kernel-mentees@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help