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

Daniel Borkmann daniel at iogearbox.net
Thu Jan 23 15:59:09 UTC 2020


On 1/23/20 2:38 PM, Toke Høiland-Jørgensen wrote:
> Amol Grover <frextrite at gmail.com> writes:
> 
>> 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.
>>
>> Signed-off-by: Amol Grover <frextrite at gmail.com>
> 
> Could you please add an appropriate Fixes: tag?

+1, please reply with Fixes: tag (no need to resend).


More information about the Linux-kernel-mentees mailing list