freebsd-skq/sys/netinet
Bill Fenner 610a2e9ca5 Don't allow the window to be increased beyond what is possible to
represent in the TCP header.  The old code did effectively:
	win = min(win, MAX_ALLOWED);
	win = max(win, what_i_think_i_advertised_last_time);
so if what_i_think_i_advertised_last_time is bigger than can be
represented in the header (e.g. large buffers and no window scaling)
then we stuff a too-big number into a short.  This fix reverses the
order of the comparisons.

PR:		kern/4712
1997-10-07 21:10:06 +00:00
..
libalias Upgrade to 2.4 (Fix -PKT_ALIAS_UNREGISTERED_ONLY) 1997-09-06 11:11:43 +00:00
fil.c Import version 3.2alpha7 1997-05-25 15:50:46 +00:00
icmp_var.h Some staticized variables were still declared to be extern. 1997-09-07 05:27:26 +00:00
if_atm.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
if_atm.h import Chuck Cranor's ATM driver 1997-05-09 07:48:14 +00:00
if_ether.c Don't send arp request for the ip address 0.0.0.0. 1997-05-14 16:39:52 +00:00
if_ether.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
if_fddi.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
igmp_var.h Some staticized variables were still declared to be extern. 1997-09-07 05:27:26 +00:00
igmp.c Fixed gratuitous ANSIisms. 1997-09-16 11:44:05 +00:00
igmp.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
in_cksum.c Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
in_hostcache.c Add for public examination the beginnings of the per-host cache support 1997-06-18 01:24:28 +00:00
in_hostcache.h Add for public examination the beginnings of the per-host cache support 1997-06-18 01:24:28 +00:00
in_pcb.c Fix all areas of the system (or at least all those in LINT) to avoid storing 1997-08-16 19:16:27 +00:00
in_pcb.h Fix all areas of the system (or at least all those in LINT) to avoid storing 1997-08-16 19:16:27 +00:00
in_proto.c Make TCPDEBUG a new-style option. 1997-09-16 18:36:06 +00:00
in_rmx.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
in_systm.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
in_var.h Some staticized variables were still declared to be extern. 1997-09-07 05:27:26 +00:00
in.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
in.h Export ipstat via sysctl. Don't understand why this wasn't done before. 1997-09-25 00:34:35 +00:00
ip_compat.h Import version 3.2alpha7 1997-05-25 15:50:46 +00:00
ip_divert.c Update network code to use poll support. 1997-09-14 03:10:42 +00:00
ip_fil.c Import version 3.2alpha7 1997-05-25 15:50:46 +00:00
ip_fil.h Import version 3.2alpha7 1997-05-25 15:50:46 +00:00
ip_frag.c Import version 3.2alpha7 1997-05-25 15:50:46 +00:00
ip_frag.h Import version 3.2alpha7 1997-05-25 15:50:46 +00:00
ip_ftp_pxy.c Import version 3.2alpha7 1997-05-25 15:50:46 +00:00
ip_fw.c Allow a compile-time override of the ipfw deny rule. For a 'firewall' 1997-09-10 03:07:14 +00:00
ip_fw.h Fixed gratuitous ANSIisms. 1997-09-16 11:44:05 +00:00
ip_icmp.c ICMP Timestamp Request messages could have harbored the same sort of 1997-08-25 16:29:27 +00:00
ip_icmp.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ip_input.c Export ipstat via sysctl. Don't understand why this wasn't done before. 1997-09-25 00:34:35 +00:00
ip_mroute.c Update for new callout interface. 1997-09-21 22:02:25 +00:00
ip_mroute.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ip_nat.c Import version 3.2alpha7 1997-05-25 15:50:46 +00:00
ip_nat.h Import version 3.2alpha7 1997-05-25 15:50:46 +00:00
ip_output.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
ip_proxy.c Import version 3.2alpha7 1997-05-25 15:50:46 +00:00
ip_proxy.h Import version 3.2alpha7 1997-05-25 15:50:46 +00:00
ip_state.c Import version 3.2alpha7 1997-05-25 15:50:46 +00:00
ip_state.h Import version 3.2alpha7 1997-05-25 15:50:46 +00:00
ip_var.h Some staticized variables were still declared to be extern. 1997-09-07 05:27:26 +00:00
ip.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ipl.h Import version 3.2alpha7 1997-05-25 15:50:46 +00:00
mln_ipl.c Import version 3.2alpha7 1997-05-25 15:50:46 +00:00
raw_ip.c Update network code to use poll support. 1997-09-14 03:10:42 +00:00
tcp_debug.c Make TCPDEBUG a new-style option. 1997-09-16 18:36:06 +00:00
tcp_debug.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
tcp_fsm.h Fix all areas of the system (or at least all those in LINT) to avoid storing 1997-08-16 19:16:27 +00:00
tcp_input.c Killed the SYN_RECEIVED addition from rev 1.52. It results in legitimate 1997-10-02 02:10:40 +00:00
tcp_output.c Don't allow the window to be increased beyond what is possible to 1997-10-07 21:10:06 +00:00
tcp_reass.c Killed the SYN_RECEIVED addition from rev 1.52. It results in legitimate 1997-10-02 02:10:40 +00:00
tcp_seq.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
tcp_subr.c Make TCPDEBUG a new-style option. 1997-09-16 18:36:06 +00:00
tcp_timer.c Make TCPDEBUG a new-style option. 1997-09-16 18:36:06 +00:00
tcp_timer.h Some staticized variables were still declared to be extern. 1997-09-07 05:27:26 +00:00
tcp_timewait.c Make TCPDEBUG a new-style option. 1997-09-16 18:36:06 +00:00
tcp_usrreq.c Make TCPDEBUG a new-style option. 1997-09-16 18:36:06 +00:00
tcp_var.h The long-awaited mega-massive-network-code- cleanup. Part I. 1997-04-27 20:01:29 +00:00
tcp.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
tcpip.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
udp_usrreq.c Update network code to use poll support. 1997-09-14 03:10:42 +00:00
udp_var.h Some staticized variables were still declared to be extern. 1997-09-07 05:27:26 +00:00
udp.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00