From owner-cvs-src@FreeBSD.ORG Mon Mar 27 00:48:22 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org 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 5D0E916A400; Mon, 27 Mar 2006 00:48:22 +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 193C343D45; Mon, 27 Mar 2006 00:48:22 +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 k2R0mLrR064181; Mon, 27 Mar 2006 00:48:21 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k2R0mLvs064180; Mon, 27 Mar 2006 00:48:21 GMT (envelope-from rwatson) Message-Id: <200603270048.k2R0mLvs064180@repoman.freebsd.org> From: Robert Watson Date: Mon, 27 Mar 2006 00:48:21 +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-src@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 27 Mar 2006 00:48:22 -0000 rwatson 2006-03-27 00:48:21 UTC FreeBSD src repository Modified files: sys/netipx spx_usrreq.c Log: In spx_output(), use M_DONTWAIT instead of M_TRYWAIT, as we hold the ipxpcb mutex. Contrary to the comment, even in 4.x this was unsafe, as parallel use of the socket by another process would result in pcb corruption if the mbuf allocation slept. MFC after: 1 month Revision Changes Path 1.82 +6 -5 src/sys/netipx/spx_usrreq.c