IPv6: convert addrconf hash list to RCU
Convert from reader/writer lock to RCU and spinlock for addrconf hash list. Adds an additional helper macro for hlist_for_each_entry_continue_rcu to handle the continue case. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
c2e21293c0
commit
5c578aedcb
@@ -64,6 +64,7 @@ struct inet6_ifaddr {
|
||||
#endif
|
||||
|
||||
int dead;
|
||||
struct rcu_head rcu;
|
||||
};
|
||||
|
||||
struct ip6_sf_socklist {
|
||||
|
Reference in New Issue
Block a user