diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-10-14 22:53:34 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-17 22:53:15 +0200 |
commit | 117a8cdea3647e8e11fac10d14eafefc20f9bda5 (patch) | |
tree | b030a78c033998bdc725935b4123695bfb8c24e9 /net/ipv4/ip_forward.c | |
parent | fib_hash: embed initial hash table in fn_zone (diff) | |
download | linux-117a8cdea3647e8e11fac10d14eafefc20f9bda5.tar.xz linux-117a8cdea3647e8e11fac10d14eafefc20f9bda5.zip |
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>
Diffstat (limited to 'net/ipv4/ip_forward.c')
0 files changed, 0 insertions, 0 deletions