Date: Thu, 30 Oct 2008 15:48:55 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet tcp_debug.c tcp_subr.c Message-ID: <200810301549.m9UFn1nG054337@repoman.freebsd.org>
index | next in thread | raw e-mail
bz 2008-10-30 15:48:55 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/netinet tcp_debug.c tcp_subr.c
Log:
SVN rev 184474 on 2008-10-30 15:48:55Z by bz
MFC: r182855
There is no real consumer of ip6_plen (IPv6 payload length)
as set in tcpip_fillheaders().
ip6_output() will calculate it based of the length from the
mbuf packet header itself.
Initialize the value in tcpip_fillheaders() in correct
(network) byte order.
With the above change, all places calling tcp_trace() pass in
the ip6 header serialized in the mbuf as ipgen and with
ip6_plen in network byte order. Thus convert the IPv6 payload
length to host byte order before printing.
Approved by: re (gnn)
Revision Changes Path
1.29.2.1 +1 -1 src/sys/netinet/tcp_debug.c
1.300.2.7 +1 -1 src/sys/netinet/tcp_subr.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810301549.m9UFn1nG054337>
