isdn/gigaset: ratelimit CAPI message dumps
commitee9d6e9cbb6655e2d34616b3f5e6e07699f40aec
authorTilman Schmidt <tilman@imap.cc>
Wed, 25 Apr 2012 13:02:19 +0000 (25 13:02 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Jun 2012 07:12:53 +0000 (1 15:12 +0800)
tree4d029b51bef25460373b41c2520138c821e3bed1
parent63ce590e41683a7ba1895a1d79b29a62b06c7613
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