|
From: | Indan Zupancic |
Subject: | [lwip-devel] [patch #10132] fix pbuf->len calculation error in type PBUF_POOL |
Date: | Wed, 3 Nov 2021 05:24:35 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36 |
Follow-up Comment #1, patch #10132 (project lwip): I reviewed the code and it indeed seems incorrect. Maybe it makes more sense to add the "- SIZEOF_STRUCT_PBUF" to the PBUF_POOL_BUFSIZE_ALIGNED define instead, as this is the only user? Then the assert two lines lower is automatically updated too. _______________________________________________________ Reply to this item at: <https://savannah.nongnu.org/patch/?10132> _______________________________________________ Message sent via Savannah https://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |