net: ratelimit warnings about dst entry refcount underflow or overflow
authorKonstantin Khlebnikov <khlebnikov@yandex-team.ru>
Fri, 17 Jul 2015 11:01:11 +0000 (14:01 +0300)
committerDanny Wood <danwood76@gmail.com>
Tue, 29 Jan 2019 13:15:13 +0000 (13:15 +0000)
commit155d792d77fe5b75d0c5289bbf1e01d55179fdbd
treeb9c6fbae8a2fb54275ff467c643ae97dbc9e5922
parentc2c31bd517a27b019467b4e559fcd6c0d7876bb2
net: ratelimit warnings about dst entry refcount underflow or overflow

commit 8bf4ada2e21378816b28205427ee6b0e1ca4c5f1 upstream.

Kernel generates a lot of warnings when dst entry reference counter
overflows and becomes negative. That bug was seen several times at
machines with outdated 3.10.y kernels. Most like it's already fixed
in upstream. Anyway that flood completely kills machine and makes
further debugging impossible.

Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
net/core/dst.c