Do not resend DATA chunks without delay when dropped by the peer and
the CRC was correct. MFC after: 3 days.
This commit is contained in:
parent
699437a2ba
commit
7da23bc820
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=214877
@ -3115,6 +3115,10 @@ process_chunk_drop(struct sctp_tcb *stcb, struct sctp_chunk_desc *desc,
|
||||
if ((tp1) && (tp1->sent < SCTP_DATAGRAM_ACKED)) {
|
||||
uint8_t *ddp;
|
||||
|
||||
if (((flg & SCTP_BADCRC) == 0) &&
|
||||
((flg & SCTP_FROM_MIDDLE_BOX) == 0)) {
|
||||
return (0);
|
||||
}
|
||||
if ((stcb->asoc.peers_rwnd == 0) &&
|
||||
((flg & SCTP_FROM_MIDDLE_BOX) == 0)) {
|
||||
SCTP_STAT_INCR(sctps_pdrpdiwnp);
|
||||
|
Loading…
Reference in New Issue
Block a user