]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'sctp_logspam'
authorDavid S. Miller <davem@davemloft.net>
Tue, 31 Dec 2013 18:59:21 +0000 (13:59 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Dec 2013 18:59:21 +0000 (13:59 -0500)
commit794e8adaff0779bef2946482171f8c860c775cf3
tree0d2ece1a60e17bdcf6a39bc58e8412ddc0cc7d6a
parent6556539bef3815862831aa6f9473f7d3f2e83bc4
parent1d491e66bb7c202c8c772952c11ec987393910e3
Merge branch 'sctp_logspam'

Neil Horman says:

====================
sctp: Consolidate and ratelimit deprecation warnings

The SCTP protocol has several deprecation warnings in its setsockopt path that
can be triggered by unprivlidged users.  Since these are not ratelimited, we can
spam the logs quite easily here.  Since these are all deprecation warnings, and
that type of warning isn't uncommon in the rest of the kernel, lets make a
common pr_warn_deprecated macro to produce somewhat generalized ratelimited
deprecation warnings easily
====================

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>