From owner-freebsd-current@FreeBSD.ORG Thu Aug 12 05:17:29 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 E08F716A4CE; Thu, 12 Aug 2004 05:17:29 +0000 (GMT) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [210.226.20.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20AE143D1D; Thu, 12 Aug 2004 05:17:29 +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 1118850B7A; Thu, 12 Aug 2004 14:17:24 +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 A128D50B20; Thu, 12 Aug 2004 14:17:22 +0900 (JST) Date: Thu, 12 Aug 2004 14:17:22 +0900 Message-ID: <7md61xgckd.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: 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: Thu, 12 Aug 2004 05:17:30 -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 Do you have a plan to commit this? -- Jun Kuriyama // IMG SRC, Inc. // FreeBSD Project