Re: [PATCH v2] CAPI: Silence lockdep warning on get_capi_appl_by_nr usage

David Miller <[email protected]> Thu, 21 Oct 2010 04:29:59 -0700 (PDT)
Newsgroups gmane.linux.network,gmane.linux.kernel,gmane.linux.isdn.i4l.devel
Message-ID <[email protected]>
From: Jan Kiszka <[email protected]>
Date: Sun, 17 Oct 2010 17:18:15 +0200

> 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 <[email protected]>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html