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>

authored by Ulrich Weber and committed by David S. Miller 7e1b33e5 b3de7559

+2 -2
+1 -1
net/ipv4/route.c
··· 1231 1231 } 1232 1232 1233 1233 if (net_ratelimit()) 1234 - printk(KERN_WARNING "Neighbour table overflow.\n"); 1234 + printk(KERN_WARNING "ipv4: Neighbour table overflow.\n"); 1235 1235 rt_drop(rt); 1236 1236 return -ENOBUFS; 1237 1237 }
+1 -1
net/ipv6/route.c
··· 670 670 671 671 if (net_ratelimit()) 672 672 printk(KERN_WARNING 673 - "Neighbour table overflow.\n"); 673 + "ipv6: Neighbour table overflow.\n"); 674 674 dst_free(&rt->dst); 675 675 return NULL; 676 676 }