From: Wei Yongjun Date: Mon, 27 Aug 2007 03:19:24 +0000 (+0800) Subject: SCTP: Use net_ratelimit to suppress error messages print too fast X-Git-Tag: v2.6.23-rc5~37^2~5^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d99fa42963a5ae394cf1df9d5bb739eb378a189b;p=pandora-kernel.git SCTP: Use net_ratelimit to suppress error messages print too fast When multi bundling SHUTDOWN-ACK message is received in ESTAB state, this will cause "sctp protocol violation state" message print many times. If SHUTDOWN-ACK is bundled 300 times in one packet, message will be print 300 times. The same problem also exists when received unexpected HEARTBEAT-ACK message which is bundled message times. This patch used net_ratelimit() to suppress error messages print too fast. Signed-off-by: Wei Yongjun Signed-off-by: Vlad Yasevich --- Reading git-diff-tree failed