ipv4: Add a missing rcu_assign_pointer() in routing cache.
authorEric Dumazet <dada1@cosmosbay.com>
Thu, 16 Oct 2008 21:18:29 +0000 (14:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Oct 2008 21:18:29 +0000 (14:18 -0700)
commit00269b54edbf25f3bb0dccb558ae23a6fc77ed86
tree63eb993fc8c463c5f6d023961b61b9dbaccd82cc
parentdc976c09da4e13b2b3fda23cca9d0682d1de7213
ipv4: Add a missing rcu_assign_pointer() in routing cache.

rt_intern_hash() is doing an update of a RCU guarded hash chain
without using rcu_assign_pointer() or equivalent barrier.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c