HardenedBSD/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
icmp_var.h Some staticized variables were still declared to be extern. 1997-09-07 05:27:26 +00:00
if_atm.c
if_atm.h
if_ether.c
if_ether.h
if_fddi.h
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
in_cksum.c
in_hostcache.c
in_hostcache.h
in_pcb.c
in_pcb.h
in_proto.c Make TCPDEBUG a new-style option. 1997-09-16 18:36:06 +00:00
in_rmx.c
in_systm.h
in_var.h Some staticized variables were still declared to be extern. 1997-09-07 05:27:26 +00:00
in.c
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
ip_divert.c Update network code to use poll support. 1997-09-14 03:10:42 +00:00
ip_fil.c
ip_fil.h
ip_frag.c
ip_frag.h
ip_ftp_pxy.c
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
ip_icmp.h
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
ip_nat.c
ip_nat.h
ip_output.c
ip_proxy.c
ip_proxy.h
ip_state.c
ip_state.h
ip_var.h Some staticized variables were still declared to be extern. 1997-09-07 05:27:26 +00:00
ip.h
ipl.h
mln_ipl.c
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
tcp_fsm.h
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
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
tcp.h
tcpip.h
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