Sleeping in "rip6_output" with the following non-sleepable locks held

Jun Kuriyama kuriyama at imgsrc.co.jp
Wed Aug 11 22:17:30 PDT 2004


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 <kuriyama at imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama at FreeBSD.org> // FreeBSD Project


More information about the freebsd-current mailing list