]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: remove sysctl jiffies conversion on gc_elasticity and min_adv_mss
authorMin Zhang <mzhang@mvista.com>
Sun, 15 Aug 2010 05:42:51 +0000 (22:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 15 Aug 2010 05:42:51 +0000 (22:42 -0700)
commit00d1b4a25bfc57492719fd62b8b5bfcfe69527fc
treeb01acb2248fec1e2ca48ad7e4644d9136c8c6d36
parent38be3708d387c988593b54355d56c333d8b54fbb
ipv6: remove sysctl jiffies conversion on gc_elasticity and min_adv_mss

sysctl output ipv6 gc_elasticity and min_adv_mss as values divided by
HZ. However, they are not in unit of jiffies, since ip6_rt_min_advmss
refers to packet size and ip6_rt_fc_elasticity is used as scaler as in
expire>>ip6_rt_gc_elasticity, so replace the jiffies conversion
handler will regular handler for them.

This has impact on scripts that are currently working assuming the
divide by HZ, will yield different results with this patch in place.

Signed-off-by: Min Zhang <mzhang@mvista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c