diff options
author | 2019-04-03 12:01:09 +0000 | |
---|---|---|
committer | 2019-04-03 12:01:09 +0000 | |
commit | 1a18eec5affd1804d0648eaaeb3ce9fb1757a85e (patch) | |
tree | 19257cfcc939c43a354e3ffc388fb8d22b8028bc /stacks/lwip_stack/lwip_src/api | |
parent | db9dffb1beafa94b9341c9638887b1c6c8768377 (diff) | |
parent | ab0c198b32bebf85f88a241de8fab08f5653f90e (diff) |
Merge "Fix: LWIP performance enhancement [iperf tool]"
Diffstat (limited to 'stacks/lwip_stack/lwip_src/api')
-rw-r--r-- | stacks/lwip_stack/lwip_src/api/spl_api_msg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stacks/lwip_stack/lwip_src/api/spl_api_msg.c b/stacks/lwip_stack/lwip_src/api/spl_api_msg.c index f437bce..b7ea24b 100644 --- a/stacks/lwip_stack/lwip_src/api/spl_api_msg.c +++ b/stacks/lwip_stack/lwip_src/api/spl_api_msg.c @@ -647,7 +647,7 @@ spl_sent_tcp (void *arg, struct tcp_pcb * pcb, u16_t len) /* conn is already checked for NULL above with ASSERT */ /* If the queued byte- or pbuf-count drops below the configured low-water limit, let select mark this pcb as writable again. */ - if (conn->snd_buf > TCP_SNDLOWAT) + if (pcb->snd_buf > TCP_SNDLOWAT) { conn->flags &= ~SPL_NETCONN_FLAG_CHECK_WRITESPACE; if (((struct common_pcb *) conn->comm_pcb_data)->model == SOCKET_STACKX) |