mirror of
https://github.com/apache/nuttx.git
synced 2026-05-12 17:58:10 +08:00
net/tcp: reset the dupack counter.
After setting the retransmission flag, we need to set the dupack counter to 0. Signed-off-by: liqinhui <liqinhui@xiaomi.com>
This commit is contained in:
@@ -629,6 +629,10 @@ static uint16_t psock_send_eventhandler(FAR struct net_driver_s *dev,
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef CONFIG_NET_TCP_CC_NEWRENO
|
||||
conn->dupacks = 0;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user