]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitce9139475ff51a9a6865794971afac029119aacf
tree11fe2cb5180939cc703444fca5071cfd327f79d5
parentd58c478217ff2c15bfecb2b60a4e721f16d9ac6e
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