OK bluhm@, claudio@, deraadt@
-/* $OpenBSD: tcp.h,v 1.21 2019/07/10 18:45:31 bluhm Exp $ */
+/* $OpenBSD: tcp.h,v 1.22 2021/02/08 19:37:15 jan Exp $ */
/* $NetBSD: tcp.h,v 1.8 1995/04/17 05:32:58 cgd Exp $ */
/*
#define TCP_MAX_SACK 3 /* Max # SACKs sent in any segment */
#define TCP_SACKHOLE_LIMIT 128 /* Max # SACK holes per connection */
-#define TCP_MAXBURST 4 /* Max # packets after leaving Fast Rxmit */
-
/*
* Default maximum segment size for TCP.
* With an IP MSS of 576, this is 536,
-/* $OpenBSD: tcp_output.c,v 1.129 2021/01/25 03:40:46 dlg Exp $ */
+/* $OpenBSD: tcp_output.c,v 1.130 2021/02/08 19:37:15 jan Exp $ */
/* $NetBSD: tcp_output.c,v 1.16 1997/06/03 16:17:09 kml Exp $ */
/*
int idle, sendalot = 0;
int i, sack_rxmit = 0;
struct sackhole *p;
- int maxburst = TCP_MAXBURST;
#ifdef TCP_SIGNATURE
unsigned int sigoff;
#endif /* TCP_SIGNATURE */
tp->last_ack_sent = tp->rcv_nxt;
tp->t_flags &= ~TF_ACKNOW;
TCP_TIMER_DISARM(tp, TCPT_DELACK);
- if (sendalot && --maxburst)
+ if (sendalot)
goto again;
return (0);
}