]> git.hungrycats.org Git - linux/commit
[NET]: Simply net_ratelimit().
authorAndrew Morton <akpm@osdl.org>
Fri, 6 Feb 2004 07:09:25 +0000 (23:09 -0800)
committerHideaki Yoshifuji <yoshfuji@linux-ipv6.org>
Fri, 6 Feb 2004 07:09:25 +0000 (23:09 -0800)
commit353131f37e48c775ed37e18eafd7a570d0feac15
tree3e037f88e0b854b03d35700910e54b57a55b2da5
parentf8c11435c19d5cee964370d8fd62d397f2b4c212
[NET]: Simply net_ratelimit().

Reimplement net_ratelimit() in terms of the new printk_ratelimit().

As net_ratelimit() already has it own sysctls we generalise
printk_ratelimit() a bit so that networking does not lose its existing
sysctls and so that it can use different time constants from the more generic
printk_ratelimit().
include/linux/kernel.h
kernel/printk.c
net/core/utils.c