Re: [PATCH v2] macvtap: rcu_dereference outside read-lock section

From: David Miller
Date: Sun Aug 12 2012 - 16:41:22 EST


From: "Michael S. Tsirkin" <mst@xxxxxxxxxx>
Date: Sun, 12 Aug 2012 11:49:29 +0300

> On Sun, Aug 12, 2012 at 10:26:31AM +0400, Denis Efremov wrote:
>> rcu_dereference occurs in update section. Replacement by
>> rcu_dereference_protected in order to prevent lockdep
>> complaint.
>>
>> Found by Linux Driver Verification project (linuxtesting.org)
>>
>> Signed-off-by: Denis Efremov <yefremov.denis@xxxxxxxxx>
...
> Acked-by: Michael S. Tsirkin <mst@xxxxxxxxxx>

Applied, thanks everyone.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/