lwip-devel
[Top][All Lists]
Advanced

[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:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

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.

OK?


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?19167>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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