Subject: CVS commit: [netbsd-4] src/sys
To: None <source-changes@NetBSD.org>
From: Pavel Cahyna <firstname.lastname@example.org>
Date: 05/25/2007 07:12:01
Module Name: src
Committed By: pavel
Date: Fri May 25 07:12:01 UTC 2007
src/sys/arch/i386/conf [netbsd-4]: ALL
src/sys/netinet [netbsd-4]: tcp_input.c
Pull up following revision(s) (requested by riz in ticket #670):
sys/netinet/tcp_input.c: revision 1.265
sys/netinet/tcp_input.c: revision 1.266
sys/arch/i386/conf/ALL: revision 1.98
Revert a small part of revision 1.254 - remove const qualifier from
the struct tcphdr * argument of tcp_dooptions(). RFC2385 support
(options TCP_SIGNATURE) needs to modify the header during options
processing, and this revision broke it.
Fix compilation in the TCP_SIGNATURE case:
- don't use void * for pointer arithmetic
- don't try to modify const parameters
A kernel with 'options TCP_SIGNATURE' works as well as it ever did, now.
(ie, clunky, but passable)
Add 'options TCP_SIGNATURE' to hopefully keep this code from
invisibly breaking periodically, as it's done a couple times.
To generate a diff of this commit:
cvs rdiff -r188.8.131.52 -r184.108.40.206 src/sys/arch/i386/conf/ALL
cvs rdiff -r220.127.116.11 -r18.104.22.168 src/sys/netinet/tcp_input.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.