Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7e1b33e5 authored by Ulrich Weber's avatar Ulrich Weber Committed by David S. Miller
Browse files

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: default avatarUlrich Weber <uweber@astaro.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b3de7559
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1231,7 +1231,7 @@ static int rt_intern_hash(unsigned hash, struct rtable *rt,
			}

			if (net_ratelimit())
				printk(KERN_WARNING "Neighbour table overflow.\n");
				printk(KERN_WARNING "ipv4: Neighbour table overflow.\n");
			rt_drop(rt);
			return -ENOBUFS;
		}
+1 −1
Original line number Diff line number Diff line
@@ -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;
		}