[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100909.150251.48516443.davem@davemloft.net>
Date: Thu, 09 Sep 2010 15:02:51 -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] tunnels: missing rcu_assign_pointer()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Thu, 09 Sep 2010 17:33:43 +0200
> xfrm4_tunnel_register() & xfrm6_tunnel_register() should
> use rcu_assign_pointer() to make sure previous writes
> (to handler->next) are committed to memory before chain
> insertion.
>
> deregister functions dont need a particular barrier.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied, thanks Eric.
--
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