lwip-devel
[Top][All Lists]
Advanced

[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/





reply via email to

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