diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-03-17 16:31:09 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-20 18:44:34 -0400 |
commit | 372e6c8f1f7b2bb68f9992d2e664925c73552a1d (patch) | |
tree | 8ae282cb00d43e6d04316f5dd1ac163788a7a4df /include/net | |
parent | e77c8e83dd587f2616d7ff20d23a897891e6e20d (diff) |
ipv6: convert temporary address list to list macros
Use list macros instead of open coded linked list.
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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/if_inet6.h b/include/net/if_inet6.h index 545d8b059bef..09d906460a43 100644 --- a/include/net/if_inet6.h +++ b/include/net/if_inet6.h | |||
@@ -58,7 +58,7 @@ struct inet6_ifaddr { | |||
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 |
61 | struct inet6_ifaddr *tmp_next; /* next addr in tempaddr_lst */ | 61 | struct list_head tmp_list; |
62 | struct inet6_ifaddr *ifpub; | 62 | struct inet6_ifaddr *ifpub; |
63 | int regen_count; | 63 | int regen_count; |
64 | #endif | 64 | #endif |
@@ -175,7 +175,7 @@ struct inet6_dev { | |||
175 | #ifdef CONFIG_IPV6_PRIVACY | 175 | #ifdef CONFIG_IPV6_PRIVACY |
176 | u8 rndid[8]; | 176 | u8 rndid[8]; |
177 | struct timer_list regen_timer; | 177 | struct timer_list regen_timer; |
178 | struct inet6_ifaddr *tempaddr_list; | 178 | struct list_head tempaddr_list; |
179 | #endif | 179 | #endif |
180 | 180 | ||
181 | struct neigh_parms *nd_parms; | 181 | struct neigh_parms *nd_parms; |