Re: [PATCH] rcu: fix a race in hlist_nulls_for_each_entry_rcu macro
From
Eric Dumazet <>
Date
Tue, 21 May 2013 08:38:13 -0700
On Tue, 2013-05-21 at 18:47 +0400, Roman Gushchin wrote:
> This code has the same mistake: it is rcu_dereference_raw(head->first), > so there is nothing that prevents gcc to store the (head->first) value > in a register.
If other rcu accessors have the same problem, a more complete patch is needed.