commit | 2373ce1ca04dd46bf2b8b0f9a799eb2a90da92fb | [log] [tgz] |
---|---|---|
author | Robert Olsson <Robert.Olsson@data.slu.se> | Thu Aug 25 13:01:29 2005 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Mon Aug 29 16:09:03 2005 -0700 |
tree | ad517ad6e5b45f52ea05d97a78b85f8c114183d9 | |
parent | e5b4376074e02b783e56a8f7c42d544e18112c4e [diff] |
[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>