* [PATCH] ipv6: Preserve pervious behavior in ipv6_link_dev_addr().
@ 2010-03-26 4:26 David Miller
0 siblings, 0 replies; only message in thread
From: David Miller @ 2010-03-26 4:26 UTC (permalink / raw)
To: netdev; +Cc: shemminger
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.
Signed-off-by: David S. Miller <davem@davemloft.net>
---
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 68e5809..9995683 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)
--
1.7.0.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-03-26 4:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-26 4:26 [PATCH] ipv6: Preserve pervious behavior in ipv6_link_dev_addr() David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox