Subject: Re: What protects rcu_dereference() in __in6_dev_get()?

From: Peter Zijlstra <[email-masked]>
Date: Fri, 15 Jan 2010 16:31:36 +0100

On Fri, 2010-01-15 at 16:29 +0100, Eric Dumazet wrote:

> I guess so, but is lockdep_is_held(&mutex) actually cheking this mutex is owned by us ?

Yep, assuming lockdep is still functional, otherwise its return value
will be undefined.