[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #5146] Handle allocation failures in accept_function
From: |
anonymous |
Subject: |
[lwip-devel] [patch #5146] Handle allocation failures in accept_function() |
Date: |
Wed, 31 May 2006 09:59:34 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7 |
URL:
<http://savannah.nongnu.org/patch/?func=detailitem&item_id=5146>
Summary: Handle allocation failures in accept_function()
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: None
Submitted on: Wednesday 05/31/2006 at 09:59 UTC
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email: address@hidden
Open/Closed: Open
_______________________________________________________
Details:
The attached patch fixes a problem in accept_function().
It previously set up the PCB too early. If any of the sys_mbox_new() or
sys_sem_new() calls failed, the function would exit half-configured. The
patch moves this configuration down so that it is only performed if all
allocations were successful.
Thanks,
Kelvin Lawson.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wednesday 05/31/2006 at 09:59 UTC Name: accept.patch Size: 999B By:
None
<http://savannah.nongnu.org/patch/download.php?file_id=10088>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?func=detailitem&item_id=5146>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-devel] [patch #5146] Handle allocation failures in accept_function(),
anonymous <=