From owner-cvs-src@FreeBSD.ORG Wed Aug 13 01:50:44 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0138937B401; Wed, 13 Aug 2003 01:50:44 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B7DE43F85; Wed, 13 Aug 2003 01:50:43 -0700 (PDT) (envelope-from harti@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h7D8oh0U013290; Wed, 13 Aug 2003 01:50:43 -0700 (PDT) (envelope-from harti@repoman.freebsd.org) Received: (from harti@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h7D8ohOj013289; Wed, 13 Aug 2003 01:50:43 -0700 (PDT) Message-Id: <200308130850.h7D8ohOj013289@repoman.freebsd.org> From: Hartmut Brandt Date: Wed, 13 Aug 2003 01:50:43 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet tcp_output.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2003 08:50:44 -0000 harti 2003/08/13 01:50:42 PDT FreeBSD src repository Modified files: sys/netinet tcp_output.c Log: The tcp_trace call needs the length of the header. Unfortunately the code has rotten a bit so that the header length is not correct at the point when tcp_trace is called. Temporarily compute the correct value before the call and restore the old value after. This makes ports/benchmarks/dbs to almost work. This is a NOP unless you compile with TCPDEBUG. Revision Changes Path 1.79 +5 -1 src/sys/netinet/tcp_output.c