Skip to content
Snippets Groups Projects
Commit d361bce9 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

Networking: Important bug fix. The backlog buffer pointer was not being...

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
parent e30cb1d4
No related branches found
No related tags found
No related merge requests found
......@@ -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).
......@@ -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++;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment