- Reformulate comment.

svn path=/trunk/; revision=12044
This commit is contained in:
Filip Navara 2004-12-12 17:24:30 +00:00
parent 4bceb917d1
commit 6d37ab99d0

View file

@ -708,12 +708,20 @@ send:
} }
#endif #endif
/* /*
* XXX: It seems that osktittcp expect synchronous packet processing * XXX: It seems that osktittcp expects that packets are
* and so our current asynchronous way causes infinite loop. The * synchronously processed. The current implementation feeds
* ACK flags are normally masked out at the end of this function * oskittcp with the packets asynchronously. That's not a
* problem normally when the packets are transfered over
* network, but it starts to be a problem when it comes to
* loopback packets.
* The ACK bits are set in tcp_input which calls tcp_output and
* expects them to be cleared before further processing.
* Instead tcp_output calls ip_output which produces a packet
* and ends up in tcp_input and we're stuck in infinite loop.
* Normally the flags are masked out at the end of this function
* and the incomming packets are processed then, but since * and the incomming packets are processed then, but since
* currently the loopback packet can be received during the * currently the loopback packet is delivered during the
* ip_output call, the function end is never reached. * ip_output call, the function end is never reached...
*/ */
#ifdef __REACTOS__ #ifdef __REACTOS__
tp->t_flags &= ~(TF_ACKNOW|TF_DELACK); tp->t_flags &= ~(TF_ACKNOW|TF_DELACK);