lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Re: [lwip] lwIP crashing after 17MB of data transfer


From: Adam Dunkels
Subject: [lwip-users] Re: [lwip] lwIP crashing after 17MB of data transfer
Date: Thu, 09 Jan 2003 00:42:50 -0000

Hi Paul!

On Monday 25 February 2002 15.07, you wrote:
> > On Monday 18 February 2002 10.38, you wrote:
> > > I still have a problem with lwip-cvs-20020215 that I had
> > > with a previous version, lwip-cvs-20020114
> >
> > Was this problem fixed with the PaulOS patches you sent?
>
> no, but its a simple one
>
> the ssthresh and cwnd fields of struct tcp_pcb are 16 bit.
> they wrap and hence must be increased to 32 bit values.

Ok, so they should be clamped (i.e., checked for overflow before being 
incremented). 

Thanks!

/adam
-- 
Adam Dunkels <address@hidden>
http://www.sics.se/~adam
[This message was sent through the lwip discussion list.]




reply via email to

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