Linux-Hams archive - February 1997: Re: TCP: user-setable irtt improperly handled (patch included)

Re: TCP: user-setable irtt improperly handled (patch included)

Matthias Welwarsky (fqlbzu.prpnhudlmm@impact-marketing.biz)
Sat, 01 Feb 1997 23:38:16 +0100


Alan Cox wrote:

> Actually I don't think the extra struct sock field is needed. The patch
> looks right in its own way but Im sure it ought to use the current route
> for the socket to get the irtt - so that if the socket switches route
> eg from ethernet to ax.25 the initial rtt and reset estimate is used.

Good point. I forgot about that. I introduced the new field to make it
easier to access the right preset, without having to look at the route
cache and check whether there is a valid preset or not.

> The 2.1.x tcp has also changed a lot so Im not sure if the patch is
> relevant to it. I'll file it to check one day

Thanks.

--
73s de Matthias