Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Aug 2004 15:54:21 +0900
From:      Jun Kuriyama <kuriyama@imgsrc.co.jp>
To:        "George V. Neville-Neil" <gnn@neville-neil.com>
Cc:        Robert Watson <rwatson@freebsd.org>
Subject:   Re: Sleeping in "rip6_output" with the following non-sleepable locks	held
Message-ID:  <7m657qi2qq.wl@black.imgsrc.co.jp>
In-Reply-To: <m2llgmi902.wl@minion.local.neville-neil.com>
References:  <7mbrhiibby.wl@black.imgsrc.co.jp> <Pine.NEB.3.96L.1040811001359.1357I-100000@fledge.watson.org> <m2n012i9d2.wl@minion.local.neville-neil.com> <m2llgmi902.wl@minion.local.neville-neil.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <kuriyama@imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama@FreeBSD.org> // FreeBSD Project



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7m657qi2qq.wl>