summaryrefslogtreecommitdiffstats
path: root/lib/audit.c
diff options
context:
space:
mode:
authorWei Yongjun2007-08-27 05:19:24 +0200
committerVlad Yasevich2007-08-30 19:52:56 +0200
commitd99fa42963a5ae394cf1df9d5bb739eb378a189b (patch)
treecfbad786d1115135ce7fc61ffef83018feadaa5b /lib/audit.c
parentSCTP: Fix to encode PROTOCOL VIOLATION error cause correctly (diff)
downloadkernel-qcow2-linux-d99fa42963a5ae394cf1df9d5bb739eb378a189b.tar.gz
kernel-qcow2-linux-d99fa42963a5ae394cf1df9d5bb739eb378a189b.tar.xz
kernel-qcow2-linux-d99fa42963a5ae394cf1df9d5bb739eb378a189b.zip
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 <yjwei@cn.fujitsu.com> Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Diffstat (limited to 'lib/audit.c')
0 files changed, 0 insertions, 0 deletions