commit | 49d61e2390c92bd226fc395a6165eb5a65ae4de6 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Thu Sep 09 05:33:43 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Sep 09 15:02:39 2010 -0700 |
tree | d5c6e07e51999aca2a461c7087b7a01461c66ba8 | |
parent | f39234d60617d37818b30991e6794643ce220296 [diff] |
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>