From owner-cvs-all@FreeBSD.ORG Fri May 4 23:43:19 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8CB8716A403; Fri, 4 May 2007 23:43:19 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 6694213C458; Fri, 4 May 2007 23:43:19 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l44NhJK7025162; Fri, 4 May 2007 23:43:19 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l44NhJed025161; Fri, 4 May 2007 23:43:19 GMT (envelope-from rwatson) Message-Id: <200705042343.l44NhJed025161@repoman.freebsd.org> From: Robert Watson Date: Fri, 4 May 2007 23:43:19 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netinet tcp_debug.c tcp_var.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 23:43:19 -0000 rwatson 2007-05-04 23:43:19 UTC FreeBSD src repository Modified files: sys/netinet tcp_debug.c tcp_var.h Log: Add global mutex tcp_debug_mtx, which will protect global TCP debugging state tcp_debug, tcp_debx. Acquire and drop as required in tcp_trace(). Move to ANSI C function header, correct prototype types so that short TCP state is no longer promoted to int unnecessarily. Add comments. MFC after: 3 weeks Revision Changes Path 1.27 +31 -12 src/sys/netinet/tcp_debug.c 1.145 +1 -1 src/sys/netinet/tcp_var.h