aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorMimi Zohar <[email protected]>2012-01-17 20:40:02 +0000
committerJames Morris <[email protected]>2012-01-18 10:41:30 +1100
commit6ac6172a935d1faf7ef259802267657bc0007a62 (patch)
tree034c1a79a3d401926f6b968eb270d34f561e50f1 /tools/perf/scripts/python/net_dropmonitor.py
parentee0b31a25a010116f44fca6c96f4516d417793dd (diff)
encrypted-keys: fix rcu and sparse messages
Enabling CONFIG_PROVE_RCU and CONFIG_SPARSE_RCU_POINTER resulted in "suspicious rcu_dereference_check() usage!" and "incompatible types in comparison expression (different address spaces)" messages. Access the masterkey directly when holding the rwsem. Changelog v1: - Use either rcu_read_lock()/rcu_derefence_key()/rcu_read_unlock() or remove the unnecessary rcu_derefence() - David Howells Reported-by: Dmitry Kasatkin <[email protected]> Signed-off-by: Mimi Zohar <[email protected]> Signed-off-by: David Howells <[email protected]> Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions