From owner-cvs-src@FreeBSD.ORG Wed Jun 2 20:15:29 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 E972516A4CE; Wed, 2 Jun 2004 20:15:29 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C707543D39; Wed, 2 Jun 2004 20:15:29 -0700 (PDT) (envelope-from bmilekic@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i533FTCY058730; Wed, 2 Jun 2004 20:15:29 -0700 (PDT) (envelope-from bmilekic@repoman.freebsd.org) Received: (from bmilekic@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i533FTjT058729; Wed, 2 Jun 2004 20:15:29 -0700 (PDT) (envelope-from bmilekic) Message-Id: <200406030315.i533FTjT058729@repoman.freebsd.org> From: Bosko Milekic Date: Wed, 2 Jun 2004 20:15:29 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet raw_ip.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: Thu, 03 Jun 2004 03:15:30 -0000 bmilekic 2004/06/02 20:15:29 PDT FreeBSD src repository Modified files: sys/netinet raw_ip.c Log: Move the locking of the pcb into raw_output(). Organize code so that m_prepend() is not called with possibility to wait while the pcb lock is held. What still needs revisiting is whether the ripcbinfo lock is really required here. Discussed with: rwatson Revision Changes Path 1.133 +14 -10 src/sys/netinet/raw_ip.c