Re: [PATCH v3 0/2] sctp: Consolidate and ratelimit deprecation warnings

2013-12-23 Thread Neil Horman
On Sun, Dec 22, 2013 at 05:56:59PM -0500, David Miller wrote:
> From: Neil Horman 
> Date: Tue, 17 Dec 2013 11:19:57 -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 
> 
> Neil, I really wish you would CC: netdev on all of the patches in the
> series.  Otherwise only some of them end up in patchwork, and this makes
> a lot more work for me if I want to actually apply this, which I do.
> 
> Please resubmit this properly, thanks.
> 

Will do, thanks.
Neil

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


Re: [PATCH v3 0/2] sctp: Consolidate and ratelimit deprecation warnings

2013-12-23 Thread Neil Horman
On Sun, Dec 22, 2013 at 05:56:59PM -0500, David Miller wrote:
 From: Neil Horman nhor...@tuxdriver.com
 Date: Tue, 17 Dec 2013 11:19:57 -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 nhor...@tuxdriver.com
 
 Neil, I really wish you would CC: netdev on all of the patches in the
 series.  Otherwise only some of them end up in patchwork, and this makes
 a lot more work for me if I want to actually apply this, which I do.
 
 Please resubmit this properly, thanks.
 

Will do, thanks.
Neil

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


Re: [PATCH v3 0/2] sctp: Consolidate and ratelimit deprecation warnings

2013-12-22 Thread David Miller
From: Neil Horman 
Date: Tue, 17 Dec 2013 11:19:57 -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 

Neil, I really wish you would CC: netdev on all of the patches in the
series.  Otherwise only some of them end up in patchwork, and this makes
a lot more work for me if I want to actually apply this, which I do.

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


Re: [PATCH v3 0/2] sctp: Consolidate and ratelimit deprecation warnings

2013-12-22 Thread David Miller
From: Neil Horman nhor...@tuxdriver.com
Date: Tue, 17 Dec 2013 11:19:57 -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 nhor...@tuxdriver.com

Neil, I really wish you would CC: netdev on all of the patches in the
series.  Otherwise only some of them end up in patchwork, and this makes
a lot more work for me if I want to actually apply this, which I do.

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


[PATCH v3 0/2] sctp: Consolidate and ratelimit deprecation warnings

2013-12-17 Thread Neil Horman
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 
CC: Vlad Yasevich 
CC: David Miller 
CC: Greg Kroah-Hartman 
CC: net...@vger.kernel.org
CC: linux-kernel@vger.kernel.org

---
Change notes

v2) Converted to use a pr_warn_deprecated macro
v3) Converted to use a DEPRECATED macro with regular pr_* macros

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


[PATCH v3 0/2] sctp: Consolidate and ratelimit deprecation warnings

2013-12-17 Thread Neil Horman
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 nhor...@tuxdriver.com
CC: Vlad Yasevich vyasev...@gmail.com
CC: David Miller da...@davemloft.net
CC: Greg Kroah-Hartman gre...@linuxfoundation.org
CC: net...@vger.kernel.org
CC: linux-kernel@vger.kernel.org

---
Change notes

v2) Converted to use a pr_warn_deprecated macro
v3) Converted to use a DEPRECATED macro with regular pr_* macros

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