Re: Client receives TCP packets but does not ACK

From: Andi Kleen (ak@suse.de)
Date: Sun Jun 17 2001 - 15:21:27 EST


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/



This archive was generated by hypermail 2b29 : Sat Jun 23 2001 - 21:00:19 EST