Subject: CVS commit: syssrc
To: None <>
From: Jun-ichiro itojun Hagino <>
List: source-changes
Date: 07/14/1999 15:37:16
Module Name:	syssrc
Committed By:	itojun
Date:		Wed Jul 14 22:37:16 UTC 1999

Modified Files:
	syssrc/sys/netinet: tcp_input.c tcp_subr.c tcp_timer.c tcp_var.h

Log Message:
Use proper ip protocol # field and tcp hdr on sending RST against SYN,
when ip header and tcp header are not adjacent to each other
(i.e. when ip6 options are attached).

To test this, try
	telnet @::1@::1 port
toward a port without responding server.  Prior to the fix, the kernel will
generate broken RST packet.

To generate a diff of this commit:
cvs rdiff -r1.85 -r1.86 syssrc/sys/netinet/tcp_input.c
cvs rdiff -r1.71 -r1.72 syssrc/sys/netinet/tcp_subr.c
cvs rdiff -r1.44 -r1.45 syssrc/sys/netinet/tcp_timer.c
cvs rdiff -r1.62 -r1.63 syssrc/sys/netinet/tcp_var.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.