[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100917.155930.219742425.davem@davemloft.net>
Date: Fri, 17 Sep 2010 15:59:30 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next-2.6] ipv4: add rcu annotations in route.c
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 17 Sep 2010 21:59:33 +0200
> Le vendredi 17 septembre 2010 à 17:59 +0200, Eric Dumazet a écrit :
>> Use __rcu attribute where appropriate.
>>
>> Use rcu_dereference_raw() in contexts where no lock is held.
>>
>> Use rcu_dereference_check() in contexts where the chain spinlock is
>> held.
>
> Hmm, it should be rcu_dereference_protected(), I'll send a v2
Ok.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists