ipv6: Log the affected address when DAD failure occurs
Subsystems (3)
PATCH 1/1 ipv6: Log the affected address when DAD failure occurs
From: Jens Rosenboom <[email protected]>
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 <[email protected]>
---
This is a resubmit of http://patchwork.ozlabs.org/patch/31196/ which erroneously was marked as superseded, but using the new compact output format.
net/ipv6/addrconf.c +2 -2
@@ -1405,8 +1405,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;
From: Jens Rosenboom <[email protected]>
Date: Wed, 16 Sep 2009 13:44:37 +0200
Quoted 7 lines
From: Jens Rosenboom <[email protected]>
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 <[email protected]>
Applied.