Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Apr 2018 18:05:01 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r332191 - stable/11/sys/netinet
Message-ID:  <201804071805.w37I51gd014741@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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++;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804071805.w37I51gd014741>