From owner-cvs-src@FreeBSD.ORG Tue Nov 23 15:59:43 2004 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 DC9B316A4CE; Tue, 23 Nov 2004 15:59:43 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD35D43D31; Tue, 23 Nov 2004 15:59:43 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id iANFxhVQ046827; Tue, 23 Nov 2004 15:59:43 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iANFxhrp046826; Tue, 23 Nov 2004 15:59:43 GMT (envelope-from rwatson) Message-Id: <200411231559.iANFxhrp046826@repoman.freebsd.org> From: Robert Watson Date: Tue, 23 Nov 2004 15:59:43 +0000 (UTC) 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_subr.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: Tue, 23 Nov 2004 15:59:44 -0000 rwatson 2004-11-23 15:59:43 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: Assert the tcbinfo write lock in tcp_new_isn(), as the tcbinfo lock protects access to the ISN state variables. Acquire the tcbinfo write lock in tcp_isn_tick() to synchronize timer-driven isn bumping. Staticize internal ISN variables since they're not used outside of tcp_subr.c. MFC after: 2 weeks Revision Changes Path 1.208 +11 -4 src/sys/netinet/tcp_subr.c