[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-devel] [patch #9221] Simplify allocation/deallocation of msg
From: |
Freddie Chopin |
Subject: |
Re: [lwip-devel] [patch #9221] Simplify allocation/deallocation of msg |
Date: |
Thu, 12 Jan 2017 16:16:35 +0100 |
On Wed, 2017-01-11 at 22:33 +0000, Freddie Chopin wrote:
> 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().
I have also another patch in queue (on top of these two), which adds
nonblocking mode to reception in netconn API - I hope such feature
would be interesting to the project maintainers (;
Regards,
FCh