I agree.
I mistakenly thought hz in that context must be larger than 1000..
As it's uncertain, your's looks much simpler and better.
(btw, the lines "else div = 1" is not needed, is it?)
Thanks,
Satoru SATOH
2007/12/21, YOSHIFUJI Hideaki / 吉藤英明 <[EMAIL PROTECTED]&g
ittle bit will make it look safer!
>
> Jarek P.
OK, how about this?
Signed-off-by: Satoru SATOH <[EMAIL PROTECTED]>
ip/iproute.c | 12
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/ip/iproute.c b/ip/iproute.c
index f4200ae..c771b34 100644
--- a
if (i == RTAX_RTT)
(gdb) p val
$4 = 1385447424
(gdb) c
Continuing.
192.168.140.0/24 scope link rto_min lock 1ms
Program exited normally.
(gdb)
Thanks,
Satoru SATOH
2007/12/20, Jarek Poplawski <[EMAIL PROTECTED]>:
> On 20-12-2007 04:31, Satoru SATOH wrote:
> > "ip route s
]# ./iproute2.git/ip/ip route show dev eth1 # patched version
192.168.140.0/24 scope link rto_min lock 3000ms <-- correct
169.254.0.0/16 scope link
[root test]#
Signed-off-by: Satoru SATOH <[EMAIL PROTECTED]>
ip/iproute.c |8
1 files changed, 4 insertions(+), 4 deletio
tcp_input_metrics() refers to the built-time constant TCP_RTO_MIN
regardless of configured minimum RTO with iproute2.
The following fixes that.
Signed-off-by: Satoru SATOH <[EMAIL PROTECTED]>
net/ipv4/tcp_input.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git
This includes a workaround for overflow while conversion of larger
rto_min (e.g. 3s) unit.
Signed-off-by: Satoru SATOH <[EMAIL PROTECTED]>
ip/iproute.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/ip/iproute.c b/ip/iproute.c
index f4200ae..fa722c6