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;
        }
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to