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:
parent
eea5f98bca
commit
bf78bf1db4
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue