diff options
Diffstat (limited to 'sys/netinet/sctp_ss_functions.c')
-rw-r--r-- | sys/netinet/sctp_ss_functions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/sctp_ss_functions.c b/sys/netinet/sctp_ss_functions.c index 05ff11e..36f1b53 100644 --- a/sys/netinet/sctp_ss_functions.c +++ b/sys/netinet/sctp_ss_functions.c @@ -292,7 +292,7 @@ sctp_ss_rr_add(struct sctp_tcb *stcb, struct sctp_association *asoc, TAILQ_INSERT_HEAD(&asoc->ss_data.out.wheel, strq, ss_params.rr.next_spoke); } else { strqt = TAILQ_FIRST(&asoc->ss_data.out.wheel); - while (strqt != NULL && (strqt->stream_no < strq->stream_no)) { + while (strqt != NULL && (strqt->sid < strq->sid)) { strqt = TAILQ_NEXT(strqt, ss_params.rr.next_spoke); } if (strqt != NULL) { @@ -857,7 +857,7 @@ sctp_ss_fcfs_select(struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_nets *net, sp = TAILQ_FIRST(&asoc->ss_data.out.list); default_again: if (sp != NULL) { - strq = &asoc->strmout[sp->stream]; + strq = &asoc->strmout[sp->sid]; } else { strq = NULL; } |