|
| From: | Bill Auerbach |
| Subject: | [lwip-devel] [bug #27445] PCB hangs in Fast Retransmit due to unchanging cwnd |
| Date: | Fri, 23 Oct 2009 21:18:51 +0000 |
| User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729) |
Follow-up Comment #8, bug #27445 (project lwip):
Then you want:
if ((u16_t)(pcb->cwnd + pcb->mss) < pcb->cwnd) { ... }
If you add something to cwnd and it became less than the original cwnd, then
it overflowed, right?
The initial point that I was trying to show is that the cast is meaningless
and doesn't add anything.
Bill
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?27445>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |