From: Neil Horman Date: Mon, 23 Dec 2013 13:29:43 +0000 (-0500) Subject: SCTP: Reduce log spamming for sctp setsockopt X-Git-Tag: v3.14-rc1~94^2~351^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94f65193abbc07e4a4f3dbe3729ceb95c1493ea2;p=pandora-kernel.git SCTP: Reduce log spamming for sctp setsockopt During a recent discussion regarding some sctp socket options, it was noted that we have several points at which we issue log warnings that can be flooded at an unbounded rate by any user. Fix this by converting all the pr_warns in the sctp_setsockopt path to be pr_warn_ratelimited. Note there are several debug level messages as well. I'm leaving those alone, as, if you turn on pr_debug, you likely want lots of verbosity. Signed-off-by: Neil Horman CC: Vlad Yasevich CC: David Miller CC: netdev@vger.kernel.org Signed-off-by: David S. Miller --- Reading git-diff-tree failed