fib_hash: RCU conversion phase 1
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 14 Oct 2010 20:53:34 +0000 (20:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Oct 2010 20:53:15 +0000 (13:53 -0700)
commit117a8cdea3647e8e11fac10d14eafefc20f9bda5
treeb030a78c033998bdc725935b4123695bfb8c24e9
parent9bef83edfba72ba58b42c14fb046da2199574bc0
fib_hash: RCU conversion phase 1

First step for RCU conversion of fib_hash :

struct fn_zone are created and never deleted.

Very classic conversion, using rcu_assign_pointer(), rcu_dereference()
and rtnl_dereference() verbs.

__rcu markers on fz_next and fn_zone_list

They are created under RTNL, we dont need fib_hash_lock anymore in
fn_new_zone().

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_hash.c