|
From: | Oleg Tyshev |
Subject: | [lwip-devel] [bug #28106] duplicate acknowledge for fast retransmit could have not null length |
Date: | Tue, 01 Dec 2009 14:45:58 +0000 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 GTB5 |
Follow-up Comment #10, bug #28106 (project lwip): For (tcp_do_output_nagle(pcb) == 0) with TF_ACK_NOW can help following patch: - if((tcp_do_output_nagle(pcb) == 0) && - ((pcb->flags & (TF_NAGLEMEMERR | TF_FIN)) == 0)){ - break; + if (tcp_do_output_nagle(pcb) == 0) { + if ((pcb->flags & (TF_NAGLEMEMERR | TF_FIN)) == 0) { + break; + } + else if (pcb->flags & TF_ACK_NOW) { + output_only_one_segment = 1; + } .... + if (output_only_one_segment) { + break; + } (file #19175) _______________________________________________________ Additional Item Attachment: File name: tcp_output.patch Size:1 KB _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?28106> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |