mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
Fix a bug, where no SACK is sent when receiving a FORWARD-TSN or
I-FORWARD-TSN chunk before any DATA or I-DATA chunk. Thanks to Julian Cordes for finding this problem and prividing packetdrill scripts to reporduce the issue. MFC after: 3 days
This commit is contained in:
parent
77c4f5aa9d
commit
91843cf34e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=304837
@ -5515,6 +5515,11 @@ __attribute__((noinline))
|
||||
*offset = length;
|
||||
return (NULL);
|
||||
}
|
||||
/*
|
||||
* For sending a SACK this looks like DATA
|
||||
* chunks.
|
||||
*/
|
||||
stcb->asoc.last_data_chunk_from = stcb->asoc.last_control_chunk_from;
|
||||
sctp_handle_forward_tsn(stcb,
|
||||
(struct sctp_forward_tsn_chunk *)ch, &abort_flag, m, *offset);
|
||||
if (abort_flag) {
|
||||
|
Loading…
Reference in New Issue
Block a user