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

From: Robert Watson <rwatson_at_FreeBSD.org>
Date: Wed, 11 Aug 2004 00:14:49 -0400 (EDT)
On Wed, 11 Aug 2004, Jun Kuriyama wrote:

> This is today's -current on amd64 box:

Hmm.  There was a patch floating around for this based on my suggestion of
converting this to an M_DONTWAIT and then handling the error case, but I
don't seem to be able to find it in my mailbox.  Do you have a copy? 

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert_at_fledge.watson.org      Principal Research Scientist, McAfee Research


> 
> Sleeping in "rip6_output" with the following non-sleepable locks held:
> exclusive sleep mutex inp (raw6inp) r = 0 (0xffffff002f11f0e8) locked _at_ netinet6/raw_ip6.c:347
> exclusive sleep mutex rip r = 0 (0xffffffff807cbf48) locked _at_ netinet6/raw_ip6.c:745
> KDB: stack backtrace:
> witness_warn() at witness_warn+0x2eb
> rip6_output() at rip6_output+0x1d2
> rip6_send() at rip6_send+0xc1
> sosend() at sosend+0x654
> kern_sendit() at kern_sendit+0xf4
> sendit() at sendit+0x5f
> sendmsg() at sendmsg+0x87
> syscall() at syscall+0x4c3
> Xfast_syscall() at Xfast_syscall+0xa8
> --- syscall (28, FreeBSD ELF64, sendmsg), rip = 0x20068c380, rsp = 0x7fffffffed78, rbp = 0x1 ---
> 
> 
> -- 
> Jun Kuriyama <kuriyama_at_imgsrc.co.jp> // IMG SRC, Inc.
>              <kuriyama_at_FreeBSD.org> // FreeBSD Project
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 
Received on Wed Aug 11 2004 - 02:16:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:05 UTC