Networking: Important bug fix. The backlog buffer pointer was not being incrmented so that only the first backlog buffer was getting added to the freelist. From Max Holtzberg

This commit is contained in:
Gregory Nutt 2013-09-06 11:43:59 -06:00
parent e30cb1d470
commit d361bce93a
2 changed files with 4 additions and 0 deletions

View File

@ -5509,4 +5509,7 @@
original NSH configuration will be a simple platform for testing
individual features; the demo configuration will be a more complex
platform for demonstrating multiple interacting features (2013-9-6).
* net/uip/uip_tcpbacklog.c: Fix a major bug in the TCP/IP backlog
initialization: Only the first backlog buffer was getting added
to the free list. From Max Holtzberg (2013-9-6).

View File

@ -127,6 +127,7 @@ int uip_backlogcreate(FAR struct uip_conn *conn, int nblg)
for (i = 0; i < nblg; i++)
{
sq_addfirst(&blc->bc_node, &bls->bl_free);
blc++;
}
}