netdev
[Top] [All Lists]

Re: FIN_WAIT1 / TCP_CORK / 2.2 -- reproducible bug and test case

To: mbp@xxxxxxxxx (Martin Pool)
Subject: Re: FIN_WAIT1 / TCP_CORK / 2.2 -- reproducible bug and test case
From: Alexey Kuznetsov <kuznet@xxxxxxxxxxxxx>
Date: Thu, 19 Sep 2002 03:38:37 +0400 (MSD)
Cc: davem@xxxxxxxxxx, ak@xxxxxx, netdev@xxxxxxxxxxx, Alan.Cox@xxxxxxxxx
In-reply-to: <20020918020927.GB2285@xxxxxxxxx> from "Martin Pool" at Sep 18, 2 12:09:29 pm
Sender: netdev-bounce@xxxxxxxxxxx
Hello!

> I can't reproduce it on 2.4.18 or .19.  It looked to me like
> tcp_snd_test() and related stuff had been substantially rewritten.

No, tcp_snd_test() in 2.2 is backport and it is accurate.
Apparently, the problem remained in another place, which was not backported.

I think this is tcp_send_fin(). It is obscure and apparently incorrect
at least on corked sockets. I would kill all the dubious "if" after

/* Special case to avoid Nagle bogosity....

and replaced it with straight tcp_push_pending_frames() like it was
made in 2.4. Please, try.

Alexey


BTW your tcpdump contains less than 25% of packets. And all the interesting
piece is absent completely. :-)


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