Re: TCP_DEFER_ACCEPT possible bug + documentation patch for tcp.7

From: kuznet@ms2.inr.ac.ru
Date: Sun Oct 22 2000 - 08:33:53 EST


Hello!

> Ok, this surely is incorrect. However, sending spurious SYNACK packets
> doesn't seem like the way to solve this problem.

They are _not_ spurious. Connection did not enter ESTABLISHED state.
If it entered this state, we would have no rights to timeout.
It should be closed with FIN etc. etc.

In fact we do the only thing, which is possible without further
violation of protocol.

About uglyness. Violations of protocol are ugly. When all
the things proceed in a legal way undistingushable,
it is beautiful. 8)

> kernel, but if we do connection preprocessing, shouldn't we also do teardown
> in case of timeout?

In the case of timeout no special actions are required, that's point.

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



This archive was generated by hypermail 2b29 : Mon Oct 23 2000 - 21:00:19 EST