[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [task #7142] Sanity check user-configurable values
From: |
Jonathan Larmour |
Subject: |
[lwip-devel] [task #7142] Sanity check user-configurable values |
Date: |
Wed, 29 Aug 2007 23:26:57 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051202 Fedora/1.5-0.fc4 Firefox/1.5 |
Follow-up Comment #8, task #7142 (project lwip):
Thanks for this. Some comments on the patch:
* if (MEMP_NUM_NETCONN < (all the PCBs)
This is the opposite sense from what I had been thinking of. It's possible to
configure fewer netconns than PCBs (e.g. if using the raw API, or raw API
subsystems like SNMP too), but it would be pointless to configure more. Not
incorrect, but pointless possibly revealing a lack of understanding of the
config dependencies.
* if (MEMP_NUM_NETBUF < (PBUF_POOL_SIZE+MEMP_NUM_PBUF))
Ditto here. It's possible to have fewer netbufs, but pointless to have more.
The rest looks good, and this makes it easy to add more, thanks!
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/task/?7142>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [task #7142] Sanity check user-configurable values, Jonathan Larmour, 2007/08/02
- [lwip-devel] [task #7142] Sanity check user-configurable values, Jared Grubb, 2007/08/02
- [lwip-devel] [task #7142] Sanity check user-configurable values, Frédéric Bernon, 2007/08/03
- [lwip-devel] [task #7142] Sanity check user-configurable values, Jonathan Larmour, 2007/08/03
- [lwip-devel] [task #7142] Sanity check user-configurable values, Frédéric Bernon, 2007/08/15
- [lwip-devel] [task #7142] Sanity check user-configurable values, Kieran Mansley, 2007/08/29
- [lwip-devel] [task #7142] Sanity check user-configurable values, Frédéric Bernon, 2007/08/29
- [lwip-devel] [task #7142] Sanity check user-configurable values, Frédéric Bernon, 2007/08/29
- [lwip-devel] [task #7142] Sanity check user-configurable values,
Jonathan Larmour <=
- [lwip-devel] [task #7142] Sanity check user-configurable values, Frédéric Bernon, 2007/08/30
- [lwip-devel] [task #7142] Sanity check user-configurable values, Jonathan Larmour, 2007/08/30
- [lwip-devel] [task #7142] Sanity check user-configurable values, Frédéric Bernon, 2007/08/30
- [lwip-devel] [task #7142] Sanity check user-configurable values, Jared Grubb, 2007/08/30
- [lwip-devel] [task #7142] Sanity check user-configurable values, Frédéric Bernon, 2007/08/30
- [lwip-devel] [task #7142] Sanity check user-configurable values, Jonathan Larmour, 2007/08/30
- [lwip-devel] [task #7142] Sanity check user-configurable values, Jared Grubb, 2007/08/30
- [lwip-devel] [task #7142] Sanity check user-configurable values, Jonathan Larmour, 2007/08/30
- [lwip-devel] [task #7142] Sanity check user-configurable values, Frédéric Bernon, 2007/08/30
- [lwip-devel] [task #7142] Sanity check user-configurable values, Kieran Mansley, 2007/08/31