提交 b54c9b98 编写于 作者: D David S. Miller

ipv6: Preserve pervious behavior in ipv6_link_dev_addr().

Use list_add_tail() to get the behavior we had before
the list_head conversion for ipv6 address lists.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 df334545
...@@ -578,7 +578,7 @@ ipv6_link_dev_addr(struct inet6_dev *idev, struct inet6_ifaddr *ifp) ...@@ -578,7 +578,7 @@ ipv6_link_dev_addr(struct inet6_dev *idev, struct inet6_ifaddr *ifp)
break; break;
} }
list_add(&ifp->if_list, p); list_add_tail(&ifp->if_list, p);
} }
static u32 ipv6_addr_hash(const struct in6_addr *addr) static u32 ipv6_addr_hash(const struct in6_addr *addr)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册