Skip to contentSkip to conversation

ipv6: Preserve pervious behavior in ipv6_link_dev_addr().

PATCH New David Miller 1 participant 1 message Mar 26, 2010

Subsystems (3)
lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

PATCH 1/1 ipv6: Preserve pervious behavior in ipv6_link_dev_addr().

I just committed the following to net-next-2.6

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.

---
 net/ipv6/addrconf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
net/ipv6/addrconf.c +1 -1
index 68e5809..9995683 100644
@@ -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)
Signature · 1 line
1.7.0.3