diff options
author | Joe Perches <joe@perches.com> | 2011-05-21 07:48:39 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-07-13 05:29:26 +0200 |
commit | 46f40799c48c1a2452d06054b861ae6e7cf191f3 (patch) | |
tree | 489917a3882515584524a7209db0a68e3e0b6d30 /net | |
parent | e6c768e36cfa59595a3c72823c900aa34d7f5be8 (diff) |
bug.h: Add WARN_RATELIMIT
[ Upstream commit b3eec79b0776e5340a3db75b34953977c7e5086e ]
Add a generic mechanism to ratelimit WARN(foo, fmt, ...) messages
using a hidden per call site static struct ratelimit_state.
Also add an __WARN_RATELIMIT variant to be able to use a specific
struct ratelimit_state.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions