Skip to content
Snippets Groups Projects
Commit f3d3f616 authored by Min Zhang's avatar Min Zhang Committed by David S. Miller
Browse files

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: default avatarMin Zhang <mzhang@mvista.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2f09a4d5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment