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

David Miller davem at davemloft.net
Tue Feb 18 20:43:46 UTC 2020


From: madhuparnabhowmik10 at gmail.com
Date: Tue, 18 Feb 2020 23:47:18 +0530

> From: Madhuparna Bhowmik <madhuparnabhowmik10 at gmail.com>
> 
> 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 at gmail.com>

Applied.



More information about the Linux-security-module-archive mailing list