[IPV4]: Convert FIB Trie to RCU.
commit2373ce1ca04dd46bf2b8b0f9a799eb2a90da92fb
authorRobert Olsson <Robert.Olsson@data.slu.se>
Thu, 25 Aug 2005 20:01:29 +0000 (25 13:01 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 29 Aug 2005 23:09:03 +0000 (29 16:09 -0700)
treead517ad6e5b45f52ea05d97a78b85f8c114183d9
parente5b4376074e02b783e56a8f7c42d544e18112c4e
[IPV4]: Convert FIB Trie to RCU.

* Removes RW-lock
* Proteced read functions uses
  rcu_dereference proteced with rcu_read_lock()
* writing of procted pointer w. rcu_assigen_pointer
* Insert/Replace atomic list_replace_rcu
* A BUG_ON condition removed.in trie_rebalance

With help from Paul E. McKenney.

Signed-off-by: Robert Olsson <Robert.Olsson@data.slu.se>
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_trie.c