commit | b003f4e171304234eae9cc11c9fd7f1cbaaf0d6b | [log] [tgz] |
---|---|---|
author | Jan Kiszka <jan.kiszka@web.de> | Sun Oct 17 05:18:15 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Oct 21 04:25:49 2010 -0700 |
tree | eb8b14040370ec664c72d8c57fd617a9fe38618f | |
parent | 1e253c3b8a1aeed51eef6fc366812f219b97de65 [diff] |
CAPI: Silence lockdep warning on get_capi_appl_by_nr usage As long as we hold capi_controller_lock, we can safely access capi_applications without RCU protection as no one can modify the application list underneath us. Introduce an RCU-free __get_capi_appl_by_nr for this purpose. This silences lockdep warnings on suspicious rcu_dereference usage. Signed-off-by: Jan Kiszka <jan.kiszka@web.de> Signed-off-by: David S. Miller <davem@davemloft.net>