aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_sack.c
diff options
context:
space:
mode:
authorRandall Stewart <rrs@FreeBSD.org>2020-02-12 13:31:36 +0000
committerRandall Stewart <rrs@FreeBSD.org>2020-02-12 13:31:36 +0000
commit481be5de9deed47eae529c7e5df890520ebc6837 (patch)
treeae00086429032445d9eb8f0f606d1f7d3f20561a /sys/netinet/tcp_sack.c
parentdf341f5986e63970ef51eb9d751681b13e62a12f (diff)
White space cleanup -- remove trailing tab's or spaces
from any line. Sponsored by: Netflix Inc.
Notes
Notes: svn path=/head/; revision=357818
Diffstat (limited to 'sys/netinet/tcp_sack.c')
-rw-r--r--sys/netinet/tcp_sack.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/netinet/tcp_sack.c b/sys/netinet/tcp_sack.c
index 80c014f6fa3d..c9874a37a1d8 100644
--- a/sys/netinet/tcp_sack.c
+++ b/sys/netinet/tcp_sack.c
@@ -141,7 +141,7 @@ SYSCTL_INT(_net_inet_tcp_sack, OID_AUTO, maxholes, CTLFLAG_VNET | CTLFLAG_RW,
VNET_DEFINE(int, tcp_sack_globalmaxholes) = 65536;
SYSCTL_INT(_net_inet_tcp_sack, OID_AUTO, globalmaxholes, CTLFLAG_VNET | CTLFLAG_RW,
- &VNET_NAME(tcp_sack_globalmaxholes), 0,
+ &VNET_NAME(tcp_sack_globalmaxholes), 0,
"Global maximum number of TCP SACK holes");
VNET_DEFINE(int, tcp_sack_globalholes) = 0;
@@ -397,7 +397,7 @@ tcp_clean_dsack_blocks(struct tcpcb *tp)
/*
* Clean up any DSACK blocks that
* are in our queue of sack blocks.
- *
+ *
*/
num_saved = 0;
for (i = 0; i < tp->rcv_numsacks; i++) {
@@ -638,18 +638,18 @@ tcp_sack_doack(struct tcpcb *tp, struct tcpopt *to, tcp_seq th_ack)
sblkp--;
sack_changed = 1;
} else {
- /*
- * We failed to add a new hole based on the current
- * sack block. Skip over all the sack blocks that
+ /*
+ * We failed to add a new hole based on the current
+ * sack block. Skip over all the sack blocks that
* fall completely to the right of snd_fack and
* proceed to trim the scoreboard based on the
* remaining sack blocks. This also trims the
* scoreboard for th_ack (which is sack_blocks[0]).
*/
- while (sblkp >= sack_blocks &&
+ while (sblkp >= sack_blocks &&
SEQ_LT(tp->snd_fack, sblkp->start))
sblkp--;
- if (sblkp >= sack_blocks &&
+ if (sblkp >= sack_blocks &&
SEQ_LT(tp->snd_fack, sblkp->end))
tp->snd_fack = sblkp->end;
}