]> git.baikalelectronics.ru Git - kernel.git/commit
net: add a route cache full diagnostic message
authorPeter Oskolkov <posk@google.com>
Wed, 16 Jan 2019 16:50:28 +0000 (08:50 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jan 2019 23:37:25 +0000 (15:37 -0800)
commit2a75aa33b7f496a1e4442ca1097d47c9f3521dfc
tree2f524ff4a9b64a392a83a13014ea0143351b3478
parente76b122f6ded2b3b4fbbc18fe48b0f8020b53acc
net: add a route cache full diagnostic message

In some testing scenarios, dst/route cache can fill up so quickly
that even an explicit GC call occasionally fails to clean it up. This leads
to sporadically failing calls to dst_alloc and "network unreachable" errors
to the user, which is confusing.

This patch adds a diagnostic message to make the cause of the failure
easier to determine.

Signed-off-by: Peter Oskolkov <posk@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dst.c