svn commit: r332191 - stable/11/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Sat Apr 7 18:05:02 UTC 2018


Author: tuexen
Date: Sat Apr  7 18:05:01 2018
New Revision: 332191
URL: https://svnweb.freebsd.org/changeset/base/332191

Log:
  MFC r323763:
  
  Remove a no longer used variable.
  
  Reported by:	Felix Weinrank

Modified:
  stable/11/sys/netinet/sctp_indata.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/netinet/sctp_indata.c
==============================================================================
--- stable/11/sys/netinet/sctp_indata.c	Sat Apr  7 18:02:17 2018	(r332190)
+++ stable/11/sys/netinet/sctp_indata.c	Sat Apr  7 18:05:01 2018	(r332191)
@@ -4213,8 +4213,6 @@ sctp_express_handle_sack(struct sctp_tcb *stcb, uint32
 again:
 	j = 0;
 	TAILQ_FOREACH(net, &asoc->nets, sctp_next) {
-		int to_ticks;
-
 		if (win_probe_recovery && (net->window_probe)) {
 			win_probe_recovered = 1;
 			/*
@@ -4229,11 +4227,6 @@ again:
 					break;
 				}
 			}
-		}
-		if (net->RTO == 0) {
-			to_ticks = MSEC_TO_TICKS(stcb->asoc.initial_rto);
-		} else {
-			to_ticks = MSEC_TO_TICKS(net->RTO);
 		}
 		if (net->flight_size) {
 			j++;


More information about the svn-src-all mailing list