]> git.karo-electronics.de Git - karo-tx-linux.git/commit
isdn/gigaset: ratelimit CAPI message dumps
authorTilman Schmidt <tilman@imap.cc>
Wed, 25 Apr 2012 13:02:19 +0000 (13:02 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 30 May 2012 23:43:23 +0000 (00:43 +0100)
commite18e7adb319147b448228dbc97913b26909f36a6
tree148eda01785fc9f8ebcbc8aeb5473955e3415988
parente26744ae998958f5943d67489f32487818bac514
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: Ben Hutchings <ben@decadent.org.uk>
drivers/isdn/gigaset/capi.c