Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-4] src/sys



Module Name:    src
Committed By:   pavel
Date:           Fri May 25 07:12:01 UTC 2007

Modified Files:
        src/sys/arch/i386/conf [netbsd-4]: ALL
        src/sys/netinet [netbsd-4]: tcp_input.c

Log Message:
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.
OK yamt@.

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 -r1.73.2.5 -r1.73.2.6 src/sys/arch/i386/conf/ALL
cvs rdiff -r1.255.2.1 -r1.255.2.2 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.




Home | Main Index | Thread Index | Old Index