diff options
author | 2018-05-17 10:34:27 +0200 | |
---|---|---|
committer | 2018-05-17 16:18:55 -0400 | |
commit | 934e0f8330a483a582805c640ef9885b4e69aa63 (patch) | |
tree | f385024e504281d55137eaf4ebc3af7264ebe495 /include/linux/tcp.h | |
parent | net: mvpp2: set mac address does not require the stop/start sequence (diff) | |
download | wireguard-linux-934e0f8330a483a582805c640ef9885b4e69aa63.tar.xz wireguard-linux-934e0f8330a483a582805c640ef9885b4e69aa63.zip |
net: mvpp2: print rx error with rate-limit
Prevent flood of RX error prints during heavy traffic with weak signal
in link by checking net_ratelimit() before using netdev_err().
Signed-off-by: Yan Markman <ymarkman@marvell.com>
[Antoine: small rework, commit message]
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/tcp.h')
0 files changed, 0 insertions, 0 deletions