Re: TCP Connection times out

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!

> Just be aware, that tp->rto *might* ( in tcp_set_rto() ?) have different=20
> values. It should not be shiftet out and (tp->rto << tp->sysctl_tcp_retry=
> 2)=20
> should not be much smaller than maximum RTO.=20

Dave's fix is right, it relies on the fact that
(TCP_MAX_RTO<<sysctl_retr2) always fits to 32 bit.
Well, if you set sysctl to a crazy value, it will not, but...
it shpuld be just written somewhere.

Alexey

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux