From: David S. Miller Date: Tue, 31 Dec 2013 18:59:21 +0000 (-0500) Subject: Merge branch 'sctp_logspam' X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=89ba52bd933898e8da78d4a3469dc23cb8acbecd;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: David S. Miller --- 89ba52bd933898e8da78d4a3469dc23cb8acbecd