Re: [RFC net-next 0/2] net: Use net_<level>_ratelimit

From
David Miller <hidden>
Date
2012-05-15 17:46:56
Also in
linux-nfs, linux-sctp, linux-wireless, lkml, netfilter-devel
Reply to
Joe Perches, 2012-05-14
From: Joe Perches <redacted>
Date: Mon, 14 May 2012 00:56:24 -0700
net_ratelimit() like __ratelimit() is too easy to misuse.

Add simplifying macros similar to pr_<level>_ratelimited
that combines the test of net_ratelimit and logging.

Joe Perches (2):
  net: Add net_ratelimited_function and net_<level>_ratelimited macros
  net: Convert net_ratelimit uses to net_<level>_ratelimited
These look fine to me so I've applied them to net-next and am
sanity checking the build right now.

Thanks Joe.
Thread (6 messages) 6 messages, 2 authors, last reply 2012-05-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help