Re: [PATCH] net: netlabel: Use built-in RCU list checking

From: David Miller
Date: Tue Feb 18 2020 - 15:43:49 EST


From: madhuparnabhowmik10@xxxxxxxxx
Date: Tue, 18 Feb 2020 23:47:18 +0530

> From: Madhuparna Bhowmik <madhuparnabhowmik10@xxxxxxxxx>
>
> list_for_each_entry_rcu() has built-in RCU and lock checking.
>
> Pass cond argument to list_for_each_entry_rcu() to silence
> false lockdep warning when CONFIG_PROVE_RCU_LIST is enabled
> by default.
>
> Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik10@xxxxxxxxx>

Applied.