aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2010-03-17 16:31:13 -0400
committerDavid S. Miller <davem@davemloft.net>2010-03-20 18:45:09 -0400
commit502a2ffd7376ae27cfde6172257db0ff9d8cfec2 (patch)
treede51fc19a9442f3edd344f56ff1887b25a5da6c9 /include
parent3a88a81d89c20be312b3b219b185bbdde24b8fb8 (diff)
ipv6: convert idev_list to list macros
Convert to list macro's for the list of addresses per interface in IPv6. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/if_inet6.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/if_inet6.h b/include/net/if_inet6.h
index 22a00b1d2c38..13f9fc086d54 100644
--- a/include/net/if_inet6.h
+++ b/include/net/if_inet6.h
@@ -55,7 +55,7 @@ struct inet6_ifaddr {
55 struct rt6_info *rt; 55 struct rt6_info *rt;
56 56
57 struct hlist_node addr_lst; 57 struct hlist_node addr_lst;
58 struct inet6_ifaddr *if_next; /* next addr in inet6_dev */ 58 struct list_head if_list;
59 59
60#ifdef CONFIG_IPV6_PRIVACY 60#ifdef CONFIG_IPV6_PRIVACY
61 struct list_head tmp_list; 61 struct list_head tmp_list;
@@ -152,9 +152,9 @@ struct ipv6_devstat {
152}; 152};
153 153
154struct inet6_dev { 154struct inet6_dev {
155 struct net_device *dev; 155 struct net_device *dev;
156 156
157 struct inet6_ifaddr *addr_list; 157 struct list_head addr_list;
158 158
159 struct ifmcaddr6 *mc_list; 159 struct ifmcaddr6 *mc_list;
160 struct ifmcaddr6 *mc_tomb; 160 struct ifmcaddr6 *mc_tomb;