mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-01 06:46:35 +01:00
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 <[email protected]>
This commit is contained in:
1 parent
df3345457a
commit
b54c9b98bb
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user