|
From: | Freddie Chopin |
Subject: | [lwip-devel] [patch #9221] Simplify allocation/deallocation of msg |
Date: | Wed, 11 Jan 2017 22:33:23 +0000 (UTC) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36 |
URL: <http://savannah.nongnu.org/patch/?9221> Summary: Simplify allocation/deallocation of msg Project: lwIP - A Lightweight TCP/IP stack Submitted by: freddie_chopin Submitted on: Wed 11 Jan 2017 10:33:22 PM GMT Category: sockets/netconn Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: None _______________________________________________________ Details: Allocate msg with API_MSG_VAR_ALLOC(msg) just before it is used, so that multiple deallocations with API_MSG_VAR_FREE(msg) in case of error can be simply removed. Improves netconn_accept() and netconn_recv_data(). _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Wed 11 Jan 2017 10:33:22 PM GMT Name: patches.tar.xz Size: 1kB By: freddie_chopin <http://savannah.nongnu.org/patch/download.php?file_id=39443> _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/patch/?9221> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |