isdn/gigaset: ratelimit CAPI message dumps
authorTilman Schmidt <tilman@imap.cc>
Wed, 25 Apr 2012 13:02:19 +0000 (13:02 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Jun 2012 07:15:40 +0000 (15:15 +0800)
commit6801b1bfcd1eceac564df643cad179a15c7d9a10
tree8f971d25001ec7204946360b5cd236df9db30fc5
parent4d4297f42d0de1f91f580cec857dbcc9ebcb12d0
isdn/gigaset: ratelimit CAPI message dumps

commit 8e618aad5348b6e6c5a90e8d97ea643197963b20 upstream.

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/isdn/gigaset/capi.c