From owner-cvs-all@FreeBSD.ORG Fri Feb 25 13:32:24 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E301216A4CE; Fri, 25 Feb 2005 13:32:24 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B819743D4C; Fri, 25 Feb 2005 13:32:24 +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 j1PDWOkI066654; Fri, 25 Feb 2005 13:32:24 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1PDWOVa066653; Fri, 25 Feb 2005 13:32:24 GMT (envelope-from rwatson) Message-Id: <200502251332.j1PDWOVa066653@repoman.freebsd.org> From: Robert Watson Date: Fri, 25 Feb 2005 13:32:24 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/sys/netipx spx_usrreq.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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, 25 Feb 2005 13:32:25 -0000 rwatson 2005-02-25 13:32:24 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/netipx spx_usrreq.c Log: Merge spx_usrreq.c:1.56 from HEAD to RELENG_5: Explicitly lock the send socket buffer in spx_reass() to cover the drop record loop for ACK'd data, rather than relying on lokcing in sbdroprecord() and sowwakeup(), reducing the number of lock operations as well as eliminating a possible race against the head of the send buffer mbuf chain. Use the _locked variants of sbdroprecord() and sowwakeup(). Revision Changes Path 1.46.2.9 +3 -2 src/sys/netipx/spx_usrreq.c