We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dfb866 commit 387d934Copy full SHA for 387d934
source/portable/BufferManagement/BufferAllocation_1.c
@@ -205,6 +205,9 @@ BaseType_t xNetworkBuffersInitialise( void )
205
* requirements. */
206
uxMaxNetworkInterfaceAllocatedSizeBytes = uxNetworkInterfaceAllocateRAMToBuffers( xNetworkBuffers );
207
208
+ /* The allocated buffer should hold atleast ipconfigNETWORK_MTU + ipSIZE_OF_ETH_HEADER bytes */
209
+ configASSERT((uxMaxNetworkInterfaceAllocatedSizeBytes >= (ipconfigNETWORK_MTU + ipSIZE_OF_ETH_HEADER)))
210
+
211
for( x = 0U; x < ipconfigNUM_NETWORK_BUFFER_DESCRIPTORS; x++ )
212
{
213
/* Initialise and set the owner of the buffer list items. */
0 commit comments