net: hsr: Pass lockdep expression to RCU lists
authorAmol Grover <frextrite@gmail.com>
Wed, 19 Feb 2020 10:00:11 +0000 (15:30 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Feb 2020 18:55:42 +0000 (10:55 -0800)
commita7a9456e8d28e81030f7cf6f1f59f907089916a9
tree82a639d30e61c709964114dab8272ef01604296c
parent7822dee5d17a02c2b77da60c1cb50089ea64fd9b
net: hsr: Pass lockdep expression to RCU lists

node_db is traversed using list_for_each_entry_rcu
outside an RCU read-side critical section but under the protection
of hsr->list_lock.

Hence, add corresponding lockdep expression to silence false-positive
warnings, and harden RCU lists.

Signed-off-by: Amol Grover <frextrite@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/hsr/hsr_framereg.c