diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-03-17 16:31:10 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-20 18:44:34 -0400 |
commit | c2e21293c054817c42eb5fa9c613d2ad51954136 (patch) | |
tree | 481f7de6d3e3a9a3d93af5654ec174ff5945dc2b /include/net/if_inet6.h | |
parent | 372e6c8f1f7b2bb68f9992d2e664925c73552a1d (diff) |
ipv6: convert addrconf list to hlist
Using hash list macros, simplifies code and helps later RCU.
This patch includes some initialization that is not strictly necessary,
since an empty hlist node/list is all zero; and list is in BSS
and node is allocated with kzalloc.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/if_inet6.h')
-rw-r--r-- | include/net/if_inet6.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/if_inet6.h b/include/net/if_inet6.h index 09d906460a43..498401541519 100644 --- a/include/net/if_inet6.h +++ b/include/net/if_inet6.h | |||
@@ -54,7 +54,7 @@ struct inet6_ifaddr { | |||
54 | struct inet6_dev *idev; | 54 | struct inet6_dev *idev; |
55 | struct rt6_info *rt; | 55 | struct rt6_info *rt; |
56 | 56 | ||
57 | struct inet6_ifaddr *lst_next; /* next addr in addr_lst */ | 57 | struct hlist_node addr_lst; |
58 | struct inet6_ifaddr *if_next; /* next addr in inet6_dev */ | 58 | struct inet6_ifaddr *if_next; /* next addr in inet6_dev */ |
59 | 59 | ||
60 | #ifdef CONFIG_IPV6_PRIVACY | 60 | #ifdef CONFIG_IPV6_PRIVACY |