diff options
author | David S. Miller <davem@davemloft.net> | 2010-03-26 00:25:30 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-26 00:25:30 -0400 |
commit | b54c9b98bbfb4836b1f7441c5a9db24affd3c2e9 (patch) | |
tree | fb8a994a46df0a0393fb31efe313577dac5ef2e0 /net/ipv6/addrconf.c | |
parent | df3345457a7a174dfb5872a070af80d456985038 (diff) |
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 <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/addrconf.c')
-rw-r--r-- | net/ipv6/addrconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
578 | break; | 578 | break; |
579 | } | 579 | } |
580 | 580 | ||
581 | list_add(&ifp->if_list, p); | 581 | list_add_tail(&ifp->if_list, p); |
582 | } | 582 | } |
583 | 583 | ||
584 | static u32 ipv6_addr_hash(const struct in6_addr *addr) | 584 | static u32 ipv6_addr_hash(const struct in6_addr *addr) |