]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitf3d3f616e35db2ceeb11564eafd50759bb5bca8a
treeb01acb2248fec1e2ca48ad7e4644d9136c8c6d36
parent2f09a4d5daaa36690d506fafda9c24f2be866f6b
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