]> err.no Git - linux-2.6/commit
icmp: fix units for ratelimit
authorStephen Hemminger <shemminger@vyatta.com>
Wed, 2 Jul 2008 02:29:07 +0000 (19:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Jul 2008 02:29:07 +0000 (19:29 -0700)
commit6dbf4bcac98bbc76ef425b3a2b4169f31199f6c7
tree3ec9383233cdbebcd26a0ab1e7f666ff8cc03b5f
parent28f49d8fec19833672a6a813bfde0068fee50bc9
icmp: fix units for ratelimit

Convert the sysctl values for icmp ratelimit to use milliseconds instead
of jiffies which is based on kernel configured HZ.
Internal kernel jiffies are not a proper unit for any userspace API.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ip-sysctl.txt
net/ipv4/sysctl_net_ipv4.c
net/ipv6/icmp.c