mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
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>
This commit is contained in:
parent
3a88a81d89
commit
502a2ffd73
4 changed files with 48 additions and 47 deletions
|
|
@ -55,7 +55,7 @@ struct inet6_ifaddr {
|
|||
struct rt6_info *rt;
|
||||
|
||||
struct hlist_node addr_lst;
|
||||
struct inet6_ifaddr *if_next; /* next addr in inet6_dev */
|
||||
struct list_head if_list;
|
||||
|
||||
#ifdef CONFIG_IPV6_PRIVACY
|
||||
struct list_head tmp_list;
|
||||
|
|
@ -152,9 +152,9 @@ struct ipv6_devstat {
|
|||
};
|
||||
|
||||
struct inet6_dev {
|
||||
struct net_device *dev;
|
||||
struct net_device *dev;
|
||||
|
||||
struct inet6_ifaddr *addr_list;
|
||||
struct list_head addr_list;
|
||||
|
||||
struct ifmcaddr6 *mc_list;
|
||||
struct ifmcaddr6 *mc_tomb;
|
||||
|
|
|
|||
Loading…
Reference in a new issue