From: David S. Miller Date: Fri, 26 Mar 2010 04:25:30 +0000 (-0700) Subject: ipv6: Preserve pervious behavior in ipv6_link_dev_addr(). X-Git-Tag: firefly_0821_release~9833^2~2087^2~687 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b54c9b98bbfb4836b1f7441c5a9db24affd3c2e9;p=firefly-linux-kernel-4.4.55.git 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: David S. Miller --- diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index 68e5809a2153..999568344721 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c @@ -578,7 +578,7 @@ ipv6_link_dev_addr(struct inet6_dev *idev, struct inet6_ifaddr *ifp) break; } - list_add(&ifp->if_list, p); + list_add_tail(&ifp->if_list, p); } static u32 ipv6_addr_hash(const struct in6_addr *addr)