Re: [PATCH v4 0/2] sctp: Consolidate and ratelimit deprecationwarnings

From: Neil Horman
Date: Thu Jan 02 2014 - 09:31:54 EST


On Tue, Dec 31, 2013 at 02:00:00PM -0500, David Miller wrote:
> From: Neil Horman <nhorman@xxxxxxxxxxxxx>
> Date: Mon, 23 Dec 2013 08:29:41 -0500
>
> > 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@xxxxxxxxxxxxx>
>
> Series applied, thanks Neil.
>
> Please consider Ben's suggestion to provide the offending command string
> in the log output.
>
Of course, I'll take care of it this week after I dig through all the holiday
email.
Neil

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/