mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
Fix an old long time bug in generating a
fwd-tsn. This would appear when greater than the size of mbuf TSN's would need to be skipped. MFC after: 3 days
This commit is contained in:
parent
83128708b4
commit
ea9b0170bf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=207985
@ -9775,9 +9775,8 @@ send_forward_tsn(struct sctp_tcb *stcb,
|
||||
0xff, 0xff, cnt_of_space,
|
||||
space_needed);
|
||||
}
|
||||
cnt_of_skipped = (cnt_of_space -
|
||||
((sizeof(struct sctp_forward_tsn_chunk)) /
|
||||
sizeof(struct sctp_strseq)));
|
||||
cnt_of_skipped = cnt_of_space - sizeof(struct sctp_forward_tsn_chunk);
|
||||
cnt_of_skipped /= sizeof(struct sctp_strseq);
|
||||
/*-
|
||||
* Go through and find the TSN that will be the one
|
||||
* we report.
|
||||
|
Loading…
Reference in New Issue
Block a user