isdn/gigaset: ratelimit CAPI message dumps
authorTilman Schmidt <tilman@imap.cc>
Wed, 25 Apr 2012 13:02:19 +0000 (13:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 May 2012 02:37:56 +0000 (22:37 -0400)
commit8e618aad5348b6e6c5a90e8d97ea643197963b20
tree11fe2cb5180939cc703444fca5071cfd327f79d5
parent8a05ba0812f7a456b3eddf74b127c0d8791742a7
isdn/gigaset: ratelimit CAPI message dumps

Introduce a global ratelimit for CAPI message dumps to protect
against possible log flood.
Drop the ratelimit for ignored messages which is now covered by the
global one.

Signed-off-by: Tilman Schmidt <tilman@imap.cc>
CC: stable <stable@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/gigaset/capi.c