]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: filter: Use WARN_RATELIMIT
authorJoe Perches <joe@perches.com>
Sat, 21 May 2011 07:48:40 +0000 (07:48 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 9 Jul 2011 06:14:52 +0000 (23:14 -0700)
commita79f0f1511ba8616043f95359c594f544a9e8850
tree748ed628cedd1bd10e7b1642e4d6466a24b35f60
parente6b5dabafd11975bacc1485de5d1eca92712a56e
net: filter: Use WARN_RATELIMIT

[ Upstream commit 6c4a5cb219520c7bc937ee186ca53f03733bd09f ]

A mis-configured filter can spam the logs with lots of stack traces.

Rate-limit the warnings and add printout of the bogus filter information.

Original-patch-by: Ben Greear <greearb@candelatech.com>
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>
net/core/filter.c