]> git.karo-electronics.de Git - mv-sheeva.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)
commitc4d6fd40df38eb4c187565d48807f5f902481ba8
tree076b1e225faf7341149825449c528d2b99356005
parentdd23736e092035b71df1117482b71fdfb5634239
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