diff options
author | Jan Kiszka <jan.kiszka@web.de> | 2010-10-17 01:18:15 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-21 07:25:49 -0400 |
commit | b003f4e171304234eae9cc11c9fd7f1cbaaf0d6b (patch) | |
tree | eb8b14040370ec664c72d8c57fd617a9fe38618f /drivers/net/cxgb4 | |
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>
Diffstat (limited to 'drivers/net/cxgb4')
0 files changed, 0 insertions, 0 deletions