From: Jens Rosenboom Date: Wed, 12 Aug 2009 22:16:04 +0000 (+0000) Subject: ipv6: Log the explicit address that triggered DAD failure X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a6fa32866567351503db8a5c3466a676ba08595f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ipv6: Log the explicit address that triggered DAD failure 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/ndisc.c b/net/ipv6/ndisc.c index 9eb68e92cc18..1ba42bd65577 100644 --- a/net/ipv6/ndisc.c +++ b/net/ipv6/ndisc.c @@ -955,8 +955,8 @@ static void ndisc_recv_na(struct sk_buff *skb) */ if (skb->pkt_type != PACKET_LOOPBACK) ND_PRINTK1(KERN_WARNING - "ICMPv6 NA: someone advertises our address on %s!\n", - ifp->idev->dev->name); + "ICMPv6 NA: someone advertises our address %pI6 on %s!\n", + &ifp->addr, ifp->idev->dev->name); in6_ifa_put(ifp); return; }