]> git.baikalelectronics.ru Git - kernel.git/commit
firewire: net: ratelimit error messages
authorMaxim Levitsky <maximlevitsky@gmail.com>
Mon, 29 Nov 2010 02:09:53 +0000 (04:09 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 13 Dec 2010 19:39:15 +0000 (20:39 +0100)
commit7e056811a7621e770c86dae088bedd25248ab459
tree076b1e225faf7341149825449c528d2b99356005
parent28b2f64cbff8b96cc47d8b945cf6f3694be46861
firewire: net: ratelimit error messages

Unfortunately its easy to trigger such error messages by removing the
cable while sending streams of data over the link.

Such errors are normal, and therefore this patch stops firewire-net from
flooding the kernel log with these errors, by combining series of same
errors together.

Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
(Stefan R:)  Eventually we should remove this logging when firewire-net
and related firewire-ohci facilities have been stabilized.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/net.c