Home
last modified time | relevance | path

Searched hist:"49 d61e2390c92bd226fc395a6165eb5a65ae4de6" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/net/ipv4/
H A Dtunnel4.cdiff 49d61e2390c92bd226fc395a6165eb5a65ae4de6 Thu Sep 09 00:33:43 CDT 2010 Eric Dumazet <eric.dumazet@gmail.com> tunnels: missing rcu_assign_pointer()

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@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/openbmc/linux/net/ipv6/
H A Dtunnel6.cdiff 49d61e2390c92bd226fc395a6165eb5a65ae4de6 Thu Sep 09 00:33:43 CDT 2010 Eric Dumazet <eric.dumazet@gmail.com> tunnels: missing rcu_assign_pointer()

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@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>