mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
- Workaround infinite loop on loopback connect.
svn path=/trunk/; revision=12043
This commit is contained in:
@@ -706,6 +706,17 @@ send:
|
||||
&& !(rt->rt_rmx.rmx_locks & RTV_MTU)) {
|
||||
((struct ip *)ti)->ip_off |= IP_DF;
|
||||
}
|
||||
#endif
|
||||
/*
|
||||
* XXX: It seems that osktittcp expect synchronous packet processing
|
||||
* and so our current asynchronous way causes infinite loop. The
|
||||
* ACK flags are normally masked out at the end of this function
|
||||
* and the incomming packets are processed then, but since
|
||||
* currently the loopback packet can be received during the
|
||||
* ip_output call, the function end is never reached.
|
||||
*/
|
||||
#ifdef __REACTOS__
|
||||
tp->t_flags &= ~(TF_ACKNOW|TF_DELACK);
|
||||
#endif
|
||||
error = ip_output(m, tp->t_inpcb->inp_options, &tp->t_inpcb->inp_route,
|
||||
so->so_options & SO_DONTROUTE, 0);
|
||||
|
||||
Reference in New Issue
Block a user