Skip to content
Snippets Groups Projects
Commit bc62d68e authored by Amol Grover's avatar Amol Grover Committed by James Morris
Browse files

device_cgroup: Fix RCU list debugging warning


exceptions may be traversed using list_for_each_entry_rcu()
outside of an RCU read side critical section BUT under the
protection of decgroup_mutex. Hence add the corresponding
lockdep expression to fix the following false-positive
warning:

[    2.304417] =============================
[    2.304418] WARNING: suspicious RCU usage
[    2.304420] 5.5.4-stable #17 Tainted: G            E
[    2.304422] -----------------------------
[    2.304424] security/device_cgroup.c:355 RCU-list traversed in non-reader section!!

Signed-off-by: default avatarAmol Grover <frextrite@gmail.com>
Signed-off-by: default avatarJames Morris <jmorris@namei.org>
parent bcf87687
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment