Re: Client receives TCP packets but does not ACK

Andi Kleen (ak@suse.de)
17 Jun 2001 22:21:27 +0200


Alan Cox <alan@lxorguk.ukuu.org.uk> writes:

> > > Specifically
> > > 1. If the receiver closes and there is unread data many TCP's forget
> > > to RST the sender to indicate that data was lost.
> >
> > Do at least FreeBSD, Solaris and NT sent RST correctly?
>
> I dont believe so

There is also a different bug in Linux that makes the application not notice
errors. When it does a close() and an error occurs while flushing buffered
data and doing the FIN handshake it is not returned by close() (no matter
if linger time hits or not). Most transaction applications like SMTP fortunately
use an own ACKing protocol, which works around that.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/