From owner-cvs-all@FreeBSD.ORG Sat Mar 25 14:44:06 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org 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 5D14E16A426; Sat, 25 Mar 2006 14:44:06 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C98AB43D48; Sat, 25 Mar 2006 14:44:05 +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 k2PEi55C099302; Sat, 25 Mar 2006 14:44:05 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k2PEi5IL099301; Sat, 25 Mar 2006 14:44:05 GMT (envelope-from rwatson) Message-Id: <200603251444.k2PEi5IL099301@repoman.freebsd.org> From: Robert Watson Date: Sat, 25 Mar 2006 14:44:05 +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/netipx spx_usrreq.c 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: Sat, 25 Mar 2006 14:44:06 -0000 rwatson 2006-03-25 14:44:05 UTC FreeBSD src repository Modified files: sys/netipx spx_usrreq.c Log: In spx_ctloutput(), acquire the ipxp lock around read operations, especially reads of spx header structures, which will now be cached in the stack until they can be copied out after releasing the lock. Panic if a bad socket option direction is passed in by the caller. MFC after: 1 month Revision Changes Path 1.73 +25 -15 src/sys/netipx/spx_usrreq.c