public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Sebastian Benoit <benoit-lists@fb12.de>
To: "David S. Miller" <davem@redhat.com>
Cc: Andries.Brouwer@cwi.nl, linux-kernel@vger.kernel.org,
	linux-net@vger.kernel.org
Subject: Re: [PATCH] tcp hang solved
Date: Mon, 4 Nov 2002 12:38:25 +0100	[thread overview]
Message-ID: <20021104123824.A29797@turing.fb12.de> (raw)
In-Reply-To: <20021104.023620.20862097.davem@redhat.com>; from davem@redhat.com on Mon, Nov 04, 2002 at 02:36:20AM -0800

[-- Attachment #1: Type: text/plain, Size: 3399 bytes --]

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 <nop,nop,timestamp 2925577 602150234> (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 <nop,nop,timestamp 602151959 2925577> (DF) [tos 0x10] 
12:27:06.895316 80.76.225.240.32921 > 80.76.224.45.ssh: . ack 945 win 63712 <nop,nop,timestamp 2925626 602151959> (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 <nop,nop,timestamp 2925826 602151959> (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 <nop,nop,timestamp 602151981 2925577> (DF) [tos 0x10] 
12:27:07.107668 80.76.225.240.32921 > 80.76.224.45.ssh: . ack 945 win 63712 <nop,nop,timestamp 2925839 602151981,nop,nop,sack sack 1 {897:945} > (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 <nop,nop,timestamp 2925856 602151981> (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 <nop,nop,timestamp 2926036 602151981> (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 <nop,nop,timestamp 602152003 2926036> (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 <nop,nop,timestamp 2926060 602152003> (DF) [tos 0x10] 
12:27:07.724482 80.76.225.240.32921 > 80.76.224.45.ssh: P ack 993 win 63712 <nop,nop,timestamp 2926456 602152003> (DF) [tos 0x10] 
12:27:08.564354 80.76.225.240.32921 > 80.76.224.45.ssh: P ack 993 win 63712 <nop,nop,timestamp 2927296 602152003> (DF) [tos 0x10] 
12:27:10.244202 80.76.225.240.32921 > 80.76.224.45.ssh: P ack 993 win 63712 <nop,nop,timestamp 2928976 602152003> (DF) [tos 0x10] 
12:27:13.603809 80.76.225.240.32921 > 80.76.224.45.ssh: P ack 993 win 63712 <nop,nop,timestamp 2932336 602152003> (DF) [tos 0x10] 
12:27:20.323005 80.76.225.240.32921 > 80.76.224.45.ssh: P ack 993 win 63712 <nop,nop,timestamp 2939056 602152003> (DF) [tos 0x10] 

/B.
-- 
Sebastian Benoit <benoit-lists@fb12.de>
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

[-- Attachment #2: Type: application/pgp-signature, Size: 240 bytes --]

  reply	other threads:[~2002-11-04 11:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-04  0:27 [PATCH] tcp hang solved Andries.Brouwer
2002-11-04 10:36 ` David S. Miller
2002-11-04 11:38   ` Sebastian Benoit [this message]
2002-11-04 13:59     ` David S. Miller
2002-11-04 13:18       ` Sebastian Benoit
2002-11-04 14:39         ` David S. Miller
2002-11-04 16:10           ` Sebastian Benoit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021104123824.A29797@turing.fb12.de \
    --to=benoit-lists@fb12.de \
    --cc=Andries.Brouwer@cwi.nl \
    --cc=davem@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-net@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox