Skip to content

Commit

Permalink
ipv6: Preserve pervious behavior in ipv6_link_dev_addr().
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David S. Miller committed Mar 26, 2010
1 parent df33454 commit b54c9b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv6/addrconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b54c9b9

Please sign in to comment.