From owner-freebsd-current@FreeBSD.ORG Wed Aug 11 06:54:28 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8123D16A4CE; Wed, 11 Aug 2004 06:54:28 +0000 (GMT) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [210.226.20.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id E07C543D48; Wed, 11 Aug 2004 06:54:25 +0000 (GMT) (envelope-from kuriyama@imgsrc.co.jp) Received: from localhost (localhost [127.0.0.1]) by black.imgsrc.co.jp (Postfix) with ESMTP id D5D7250BE9; Wed, 11 Aug 2004 15:54:22 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [IPv6:2001:218:422:2::9999]) by black.imgsrc.co.jp (Postfix) with ESMTP id 99D2350BE8; Wed, 11 Aug 2004 15:54:21 +0900 (JST) Date: Wed, 11 Aug 2004 15:54:21 +0900 Message-ID: <7m657qi2qq.wl@black.imgsrc.co.jp> From: Jun Kuriyama To: "George V. Neville-Neil" In-Reply-To: References: <7mbrhiibby.wl@black.imgsrc.co.jp> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd 0.1 cc: Jun Kuriyama cc: Current cc: Robert Watson Subject: Re: Sleeping in "rip6_output" with the following non-sleepable locks held X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2004 06:54:28 -0000 At Tue, 10 Aug 2004 21:39:09 -0700, George V. Neville-Neil wrote: > > I believe this is what you mean: > > > > @@ -376,7 +377,12 @@ > > code = icmp6->icmp6_code; > > } > > > > - M_PREPEND(m, sizeof(*ip6), M_TRYWAIT); > > + M_PREPEND(m, sizeof(*ip6), M_DONTWAIT); > > + if (m == NULL) { > > + error = ENOBUFS; > > + goto bad; > > + } > > + > > ip6 = mtod(m, struct ip6_hdr *); > > > > /* > > Sorry, forgot to put in the the name of the file. It's > > sys/netinet6/raw_ip6.c Thanks! That message is disappeared with your patch. -- Jun Kuriyama // IMG SRC, Inc. // FreeBSD Project