diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-03-17 20:31:10 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-20 22:44:34 (GMT) |
commit | c2e21293c054817c42eb5fa9c613d2ad51954136 (patch) | |
tree | 481f7de6d3e3a9a3d93af5654ec174ff5945dc2b /include/net | |
parent | 372e6c8f1f7b2bb68f9992d2e664925c73552a1d (diff) | |
download | linux-c2e21293c054817c42eb5fa9c613d2ad51954136.tar.xz |
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')
-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 09d9064..4984015 100644 --- a/include/net/if_inet6.h +++ b/include/net/if_inet6.h @@ -54,7 +54,7 @@ struct inet6_ifaddr { struct inet6_dev *idev; struct rt6_info *rt; - struct inet6_ifaddr *lst_next; /* next addr in addr_lst */ + struct hlist_node addr_lst; struct inet6_ifaddr *if_next; /* next addr in inet6_dev */ #ifdef CONFIG_IPV6_PRIVACY |