cvs commit: src/sys/netinet tcp_output.c

[ Available lists | Index of cvs-all | Month of Jun 2004 | Week of 18 Jun 2004 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Bruce M Simpson <bms@FreeBSD.org>
Date
18 Jun 2004 03:31:19
Subject
cvs commit: src/sys/netinet tcp_output.c
Message-ID
200406180331.i5I3V7F3092775@repoman.freebsd.org


[ Hide this part ]
bms         2004-06-18 03:31:07 UTC

FreeBSD src repository

Modified files:
sys/netinet tcp_output.c
Log:
If SO_DEBUG is enabled for a TCP socket, and a received segment is
encapsulated within an IPv6 datagram, do not abuse the 'ipov' pointer
when registering trace records. 'ipov' is specific to IPv4, and
will therefore be uninitialized.

[This fandango is only necessary in the first place because of our
host-byte-order IP field pessimization.]

PR: kern/60856
Submitted by: Galois Zheng

Revision Changes Path
1.93 +11 -2 src/sys/netinet/tcp_output.c


Elapsed time: 0.074 seconds