mirror of
https://github.com/apache/nuttx.git
synced 2025-12-13 15:12:38 +08:00
tcp: fix trans data error when fast retrans
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
ed89d7252b
commit
3725fe28fb
@@ -780,6 +780,8 @@ static uint16_t psock_send_eventhandler(FAR struct net_driver_s *dev,
|
||||
* happen until the polling cycle completes).
|
||||
*/
|
||||
|
||||
tcp_setsequence(conn->sndseq, TCP_WBSEQNO(wrb));
|
||||
|
||||
devif_iob_send(dev, TCP_WBIOB(wrb), sndlen,
|
||||
0, tcpip_hdrsize(conn));
|
||||
if (dev->d_sndlen == 0)
|
||||
|
||||
Reference in New Issue
Block a user