lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #9155] Check external FD_SETSIZE has enough space fo


From: Joel Cunningham
Subject: [lwip-devel] [patch #9155] Check external FD_SETSIZE has enough space for number of sockets
Date: Mon, 31 Oct 2016 21:04:48 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0

URL:
  <http://savannah.nongnu.org/patch/?9155>

                 Summary: Check external FD_SETSIZE has enough space for
number of sockets
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: jcunningham
            Submitted on: Mon 31 Oct 2016 09:04:45 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:

I've ran into a case where MEMP_NUM_NETCONN was configured to be larger than
FD_SETSIZE provided by the system's toolchain.  This configuration mis-match
went undetected

This patch adds a compile time check in sockets.h to ensure an external
FD_SETISZE is large enough to handle the configured sockets in sockets.c

I wanted to get feedback if this was the right location for the compile time
check versus putting it in init.c before committing

Thanks



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 31 Oct 2016 09:04:45 PM GMT  Name:
0001-Sockets-check-external-FD_SETSIZE-against-number-of-.patch  Size: 949B  
By: jcunningham

<http://savannah.nongnu.org/patch/download.php?file_id=38850>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?9155>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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