lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Bug in tcp_receive()?


From: Kieran Mansley
Subject: Re: [lwip-users] Bug in tcp_receive()?
Date: Wed, 12 Aug 2009 09:49:39 +0100

On Thu, 2009-08-06 at 15:41 +0530, Mousom wrote:
>   if (flags & TCP_ACK) {
>     right_wnd_edge = pcb->snd_wnd + pcb->snd_wl1;
>  
> Should not this be?
>   if (flags & TCP_ACK) {
>     right_wnd_edge = pcb->snd_wnd + pcb->snd_wl2;
>  
> Also later
>       if (pcb->snd_wl1 + pcb->snd_wnd == right_wnd_edge){
> seems to be wrong and should be
>       if (pcb->snd_wl2 + pcb->snd_wnd == right_wnd_edge){

I've checked this in, thanks for reporting the bug and fix.

Kieran





reply via email to

[Prev in Thread] Current Thread [Next in Thread]