commit | c0560b9c523341516eabf0f3b51832256caa7bbb | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Thu Nov 06 12:53:41 2014 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sat Nov 08 21:22:54 2014 -0500 |
tree | 4ffbee34cbdf1988cfcf72cd48cbb147d23a48be | |
parent | 36cbb2452cbafca64dcdd3578047433787900cf0 [diff] |
dccp: Convert DCCP_WARN to net_warn_ratelimited Remove the dependency on the "warning" sysctl (net_msg_warn) which is only used by the LIMIT_NETDEBUG macro. Convert the LIMIT_NETDEBUG use in DCCP_WARN to the more common net_warn_ratelimited mechanism. This still ratelimits based on the net_ratelimit() function, but removes the check for the sysctl. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>