[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 07:43:12 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv: Gecko/20070309 Firefox/

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

I already proposed this in another thread, but it belongs here:
The original reason for this bug entry was that tcp timeout handler is
invoked while waiting for the heap (or memp) semaphore.

I propose to change all sys_sem_wait(sem) calls in mem.c to
sys_arch_sem_wait(sem, 0) nad to remove the SYS_LIFHGWEIGHT_PROT=0 code in
memp.c, which solves this bug.

If noone objects, I'll commit it soon as there does not seem too much
activity around these things any more ;-)


Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

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