mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 13:11:14 +00:00
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:
parent
c2e21293c0
commit
5c578aedcb
3 changed files with 58 additions and 41 deletions
|
@ -64,6 +64,7 @@ struct inet6_ifaddr {
|
|||
#endif
|
||||
|
||||
int dead;
|
||||
struct rcu_head rcu;
|
||||
};
|
||||
|
||||
struct ip6_sf_socklist {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue