[Top][All Lists]

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

[lwip-devel] [bug #19167] tcp timeout handler can cause crash being invo

From: Simon Goldschmidt
Subject: [lwip-devel] [bug #19167] tcp timeout handler can cause crash being invoked by sys_sem_wait()
Date: Wed, 16 May 2007 09:27:16 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv: Gecko/20070309 Firefox/

Follow-up Comment #31, bug #19167 (project lwip):

>So, to be sure, you use your patch file #12142 ?

No, since at least on file in CVS relies on timeouts with sys_sem_wait (and
dmitry seems, too, so other might also).

>You just change memp.c ?

I would
- remove all semaphores from memp.c. Primarily since that is the opposite pf
what pbuf.c does, but with the nice side-effect of also solving _this_ bug.
- change mem.c to call sys_arch_sem_wait instead of sys_sem_wait to prevent
timeouts running in a state they shouldn't

The rest of the sys_sem_wait calls are in src/api and are called in
application context. What the 'user' does here is not our problem.



Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

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