|
@@ -912,8 +912,13 @@ static void ndisc_recv_na(struct sk_buff *skb)
|
|
|
is invalid, but ndisc specs say nothing
|
|
|
about it. It could be misconfiguration, or
|
|
|
an smart proxy agent tries to help us :-)
|
|
|
+
|
|
|
+ We should not print the error if NA has been
|
|
|
+ received from loopback - it is just our own
|
|
|
+ unsolicited advertisement.
|
|
|
*/
|
|
|
- ND_PRINTK1(KERN_WARNING
|
|
|
+ if (skb->pkt_type != PACKET_LOOPBACK)
|
|
|
+ ND_PRINTK1(KERN_WARNING
|
|
|
"ICMPv6 NA: someone advertises our address on %s!\n",
|
|
|
ifp->idev->dev->name);
|
|
|
in6_ifa_put(ifp);
|