Re: [PATCH RESEND] net: hsr: Pass lockdep expression to RCU lists

From: David Miller
Date: Wed Feb 19 2020 - 13:56:03 EST


From: Amol Grover <frextrite@xxxxxxxxx>
Date: Wed, 19 Feb 2020 15:30:11 +0530

> 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@xxxxxxxxx>
> ---
> Resend:
> - Remove failed delivery recipients

Applied.