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:
parent
e30cb1d470
commit
d361bce93a
@ -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++;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user