- Fixes a comparison wrap issue with sack gap ack blocks that

span the 32 bit roll over mark.
This commit is contained in:
Randall Stewart 2008-01-28 10:25:43 +00:00
parent 5ac3b03500
commit f36d98069e

View File

@ -2874,7 +2874,7 @@ sctp_handle_segments(struct mbuf *m, int *offset, struct sctp_tcb *stcb, struct
}
last_frag_high = frag_end + last_tsn;
}
for (j = frag_strt + last_tsn; j <= frag_end + last_tsn; j++) {
for (j = frag_strt + last_tsn; (compare_with_wrap((frag_end + last_tsn), j, MAX_TSN)); j++) {
while (tp1) {
if (tp1->rec.data.doing_fast_retransmit)
num_frs++;