netdev
[Top] [All Lists]

Re: 2.2.19pre16 TCP problems

To: ml@xxxxxxxxxxx (Mario Lorenz)
Subject: Re: 2.2.19pre16 TCP problems
From: kuznet@xxxxxxxxxxxxx
Date: Mon, 5 Mar 2001 20:28:22 +0300 (MSK)
Cc: davem@xxxxxxxxxx (Dave Miller), netdev@xxxxxxxxxxx
In-reply-to: <20010303142340.A31835@xxxxxxxxxxx> from "Mario Lorenz" at Mar 3, 1 11:45:34 pm
Sender: owner-netdev@xxxxxxxxxxx
Hello!

> it seems that the TCP fixes for 2.2.19pre16 do not fix all the TCP problems.
> I still see lots of Connection reset by peer errors even after upgrading to
> to  pre16.

Seems, I even remember this bug fixed in 2.3...

Alexey

--- linux/net/ipv4/tcp_input.c.ORIG     Fri Feb 23 20:06:58 2001
+++ linux/net/ipv4/tcp_input.c  Mon Mar  5 20:24:46 2001
@@ -2210,6 +2216,7 @@
                        tp->snd_wnd = htons(th->window);
                        tp->snd_wl1 = TCP_SKB_CB(skb)->seq;
                        tp->snd_wl2 = TCP_SKB_CB(skb)->ack_seq;
+                       tp->syn_seq = TCP_SKB_CB(skb)->seq;
                        tp->fin_seq = TCP_SKB_CB(skb)->seq;
 
                        tcp_set_state(sk, TCP_ESTABLISHED);

<Prev in Thread] Current Thread [Next in Thread>