[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #9221] Simplify allocation/deallocation of msg

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


                 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



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:



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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