From: Jens Rosenboom Date: Thu, 17 Sep 2009 17:24:24 +0000 (-0700) Subject: ipv6: Log the affected address when DAD failure occurs X-Git-Tag: v2.6.32-rc1~21^2~48 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0522fea6505f7b03a82787acdc6ad3066d9b4de3;p=platform%2Fupstream%2Fkernel-adaptation-pc.git ipv6: Log the affected address when DAD failure occurs If an interface has multiple addresses, the current message for DAD failure isn't really helpful, so this patch adds the address itself to the printk. Signed-off-by: Jens Rosenboom Signed-off-by: David S. Miller --- diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index f216a41..55f486d 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c @@ -1407,8 +1407,8 @@ void addrconf_dad_failure(struct inet6_ifaddr *ifp) struct inet6_dev *idev = ifp->idev; if (net_ratelimit()) - printk(KERN_INFO "%s: IPv6 duplicate address detected!\n", - ifp->idev->dev->name); + printk(KERN_INFO "%s: IPv6 duplicate address %pI6c detected!\n", + ifp->idev->dev->name, &ifp->addr); if (idev->cnf.accept_dad > 1 && !idev->cnf.disable_ipv6) { struct in6_addr addr;