aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-12-15 23:03:50 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-15 23:03:50 -0500
commiteb14f019597cd86c21a6c601d7e900f40030c2e7 (patch)
tree36fb2f36a1747f98988f87215db1eef3a71d45eb /net/ipv6
parent9a4a84294b0d60b8c287131478f743ba2bc68949 (diff)
parenta3dd15444baa9c7522c8457ab564c41219dfb44c (diff)
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/net/e1000e/ich8lan.c
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/ndisc.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c
index e4acc212345e..3e2970841bd8 100644
--- a/net/ipv6/ndisc.c
+++ b/net/ipv6/ndisc.c
@@ -947,8 +947,13 @@ static void ndisc_recv_na(struct sk_buff *skb)
947 is invalid, but ndisc specs say nothing 947 is invalid, but ndisc specs say nothing
948 about it. It could be misconfiguration, or 948 about it. It could be misconfiguration, or
949 an smart proxy agent tries to help us :-) 949 an smart proxy agent tries to help us :-)
950
951 We should not print the error if NA has been
952 received from loopback - it is just our own
953 unsolicited advertisement.
950 */ 954 */
951 ND_PRINTK1(KERN_WARNING 955 if (skb->pkt_type != PACKET_LOOPBACK)
956 ND_PRINTK1(KERN_WARNING
952 "ICMPv6 NA: someone advertises our address on %s!\n", 957 "ICMPv6 NA: someone advertises our address on %s!\n",
953 ifp->idev->dev->name); 958 ifp->idev->dev->name);
954 in6_ifa_put(ifp); 959 in6_ifa_put(ifp);