inet: fix TCP connection corruption bug (causing test40 to fail sometimes)
This commit is contained in:
parent
e9533909ff
commit
045f1cdb10
@ -1588,6 +1588,9 @@ tcp_hdr_t *tcp_hdr;
|
|||||||
* there are empty connections as well.
|
* there are empty connections as well.
|
||||||
*/
|
*/
|
||||||
listen_conn= new_conn_for_queue(listen_conn->tc_fd);
|
listen_conn= new_conn_for_queue(listen_conn->tc_fd);
|
||||||
|
|
||||||
|
if (listen_conn)
|
||||||
|
return listen_conn;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!best_conn && !listen_conn)
|
if (!best_conn && !listen_conn)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user