|
From: | Marc Chaland |
Subject: | [lwip-devel] [bug #21356] client thread freezes after MEMP_TCPIP_MSG starvation |
Date: | Wed, 17 Oct 2007 09:50:32 +0000 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1 |
URL: <http://savannah.nongnu.org/bugs/?21356> Summary: client thread freezes after MEMP_TCPIP_MSG starvation Project: lwIP - A Lightweight TCP/IP stack Submitted by: chaland Submitted on: mercredi 17.10.2007 à 09:50 Category: sockets Severity: 3 - Normal Item Group: Faulty Behaviour Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Planned Release: _______________________________________________________ Details: When no more MEMP for TCPIP msg is available, client thread are stuck into mbox_fetch(conn->mbox) as tcpip thread doesn't receive the request. I've made a patch: sys_mbox_post and tcpip_apimsg return error code when allocation fails and netconn_* functions manages this to avoid mbox_fetch on conn->mbox. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: mercredi 17.10.2007 à 09:50 Name: lwip-1.2.0.patch Size: 6 ko By: chaland <http://savannah.nongnu.org/bugs/download.php?file_id=14154> _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?21356> _______________________________________________ Message posté via/par Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |