Fix a warning about an unused variable.

This commit is contained in:
Michael Tuexen 2016-04-18 09:39:46 +00:00
parent 98d5fd976b
commit a39ddef038
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=298200

View File

@ -1288,7 +1288,7 @@ sctp_queue_data_for_reasm(struct sctp_tcb *stcb, struct sctp_association *asoc,
}
}
}
if ((asoc->idata_supported == 0) && ((control->sinfo_flags >> 8) & SCTP_DATA_UNORDERED)) {
if ((asoc->idata_supported == 0) && (unordered == 1)) {
sctp_inject_old_data_unordered(stcb, asoc, strm, control, chk, abort_flag);
return;
}