David S. Miller(davem@redhat.com)@2002.11.04 02:36:20 +0000: > From: Andries.Brouwer@cwi.nl > Date: Mon, 4 Nov 2002 01:27:26 +0100 (MET) > > So, the following patch should be appropriate. > > Thanks for this fix, I will apply it. I have no idea why I didn't > spot this while 'porting' this patch from 2.4.x to 2.5.x :) This does _not_ fix the tcp hang i reported on netdev 2 weeks ago, i can still reproduce this with 2.5.45-latest-bk + this patch: hostA: ./socket -s 3000 > /dev/null hostA: ssh hostC hostB: cat largefile | ./socket hostA 3000 Now typing stuff in the ssh-connection to hostC will cause this connection to hang. [*] The connection between B and A is not affected. This bug was introduced in 2.5.43-bk1, previous versions are ok. I think it might be ChangeSet 1.781.1.68 2002/10/15 19:01:33 kuznet@mops.inr.ac.ru but i'm not sure. [*] tcpdump output of the SSH connection at the moment it stops working: the first packets are ok. 80.76.225.240 = hostA, 80.76.224.45 = hostC 12:27:06.846266 80.76.225.240.32921 > 80.76.224.45.ssh: P 3072:3120(48) ack 897 win 63712 (DF) [tos 0x10] 12:27:06.895276 80.76.224.45.ssh > 80.76.225.240.32921: P 897:945(48) ack 3120 win 15928 (DF) [tos 0x10] 12:27:06.895316 80.76.225.240.32921 > 80.76.224.45.ssh: . ack 945 win 63712 (DF) [tos 0x10] 12:27:07.095430 80.76.225.240.32921 > 80.76.224.45.ssh: P 3120:3168(48) ack 945 win 63712 (DF) [tos 0x10] 12:27:07.107633 80.76.224.45.ssh > 80.76.225.240.32921: P 897:945(48) ack 3120 win 15928 (DF) [tos 0x10] 12:27:07.107668 80.76.225.240.32921 > 80.76.224.45.ssh: . ack 945 win 63712 (DF) [tos 0x10] 12:27:07.124619 80.76.225.240.32921 > 80.76.224.45.ssh: P 3168:3216(48) ack 945 win 63712 (DF) [tos 0x10] 12:27:07.304553 80.76.225.240.32921 > 80.76.224.45.ssh: P 3120:3168(48) ack 945 win 63712 (DF) [tos 0x10] 12:27:07.328656 80.76.224.45.ssh > 80.76.225.240.32921: P 945:993(48) ack 3168 win 15928 (DF) [tos 0x10] [ssh stops working around here] 12:27:07.328689 80.76.225.240.32921 > 80.76.224.45.ssh: . ack 993 win 63712 (DF) [tos 0x10] 12:27:07.724482 80.76.225.240.32921 > 80.76.224.45.ssh: P ack 993 win 63712 (DF) [tos 0x10] 12:27:08.564354 80.76.225.240.32921 > 80.76.224.45.ssh: P ack 993 win 63712 (DF) [tos 0x10] 12:27:10.244202 80.76.225.240.32921 > 80.76.224.45.ssh: P ack 993 win 63712 (DF) [tos 0x10] 12:27:13.603809 80.76.225.240.32921 > 80.76.224.45.ssh: P ack 993 win 63712 (DF) [tos 0x10] 12:27:20.323005 80.76.225.240.32921 > 80.76.224.45.ssh: P ack 993 win 63712 (DF) [tos 0x10] /B. -- Sebastian Benoit My mail is GnuPG signed -- Unsigned ones are bogus -- http://www.gnupg.org/ GnuPG 0x5BA22F00 2001-07-31 2999 9839 6C9E E4BF B540 C44B 4EC4 E1BE 5BA2 2F00