summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Weber <uweber@astaro.com>2010-09-27 15:02:18 -0700
committerDavid S. Miller <davem@davemloft.net>2010-09-27 15:02:18 -0700
commit7e1b33e5ea392dfc984fc63b76ca75acbf249dcd (patch)
tree00fbab440aabca3123b999da42901a7261203c11
parentb3de7559afbb7a8a35b4be975a6adf6c5e3cdca0 (diff)
downloadlinux-3.10-7e1b33e5ea392dfc984fc63b76ca75acbf249dcd.tar.gz
linux-3.10-7e1b33e5ea392dfc984fc63b76ca75acbf249dcd.tar.bz2
linux-3.10-7e1b33e5ea392dfc984fc63b76ca75acbf249dcd.zip
ipv6: add IPv6 to neighbour table overflow warning
IPv4 and IPv6 have separate neighbour tables, so the warning messages should be distinguishable. [ Add a suitable message prefix on the ipv4 side as well -DaveM ] Signed-off-by: Ulrich Weber <uweber@astaro.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/ipv4/route.c2
-rw-r--r--net/ipv6/route.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index 6298f75d5e9..ac6559cb54f 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -1231,7 +1231,7 @@ restart:
}
if (net_ratelimit())
- printk(KERN_WARNING "Neighbour table overflow.\n");
+ printk(KERN_WARNING "ipv4: Neighbour table overflow.\n");
rt_drop(rt);
return -ENOBUFS;
}
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index d126365ac04..8323136bdc5 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@ -670,7 +670,7 @@ static struct rt6_info *rt6_alloc_cow(struct rt6_info *ort, struct in6_addr *dad
if (net_ratelimit())
printk(KERN_WARNING
- "Neighbour table overflow.\n");
+ "ipv6: Neighbour table overflow.\n");
dst_free(&rt->dst);
return NULL;
}