aboutsummaryrefslogtreecommitdiff
path: root/net/netlink
diff options
context:
space:
mode:
authorNeil Horman2013-12-23 08:29:43 -0500
committerDavid S. Miller2013-12-31 13:58:40 -0500
commit94f65193abbc07e4a4f3dbe3729ceb95c1493ea2 (patch)
tree0d2ece1a60e17bdcf6a39bc58e8412ddc0cc7d6a /net/netlink
parent0a9a8bfd29aa5ba2298dc80852cdbb63a42f6576 (diff)
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 <nhorman@tuxdriver.com> CC: Vlad Yasevich <vyasevich@gmail.com> CC: David Miller <davem@davemloft.net> CC: netdev@vger.kernel.org Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlink')
0 files changed, 0 insertions, 0 deletions