svn commit: r298200 - head/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Mon Apr 18 09:39:47 UTC 2016


Author: tuexen
Date: Mon Apr 18 09:39:46 2016
New Revision: 298200
URL: https://svnweb.freebsd.org/changeset/base/298200

Log:
  Fix a warning about an unused variable.

Modified:
  head/sys/netinet/sctp_indata.c

Modified: head/sys/netinet/sctp_indata.c
==============================================================================
--- head/sys/netinet/sctp_indata.c	Mon Apr 18 09:29:14 2016	(r298199)
+++ head/sys/netinet/sctp_indata.c	Mon Apr 18 09:39:46 2016	(r298200)
@@ -1288,7 +1288,7 @@ sctp_queue_data_for_reasm(struct sctp_tc
 			}
 		}
 	}
-	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;
 	}


More information about the svn-src-head mailing list