Re: panic: lock (sleep mutex) inp not locked _at_ /usr/src/sys/netinet6/in6_pcb.c:710

From: Jun Kuriyama <kuriyama_at_imgsrc.co.jp>
Date: Wed, 18 Aug 2004 13:18:40 +0900
At Wed, 18 Aug 2004 00:02:44 -0400 (EDT),
Robert Watson wrote:
> Hmm.  This code is somewhat more spaghetti than I thought.  In the IPv4
> version, we check the return value of the notify function to decide if we
> need to unlock.  Something like the following may fix this:

Okay, I'll try with your patch.

> Do you have a dump for this?  If so, is there any chance you could tell me
> what function 'notify' was set to point to, and what the value of 'inp' is
> there?

Sorry, I didn't take a dump at this time.  I'll take it when I get a
panic next time.

> in6_pcbnotify(c0709d40,e4d3abb0,1600,e4d3abd0,9bed) at in6_pcbnotify+0x26d

Is "9bed" is the value of notify argument?  It seems it is too small
for function pointer...


-- 
Jun Kuriyama <kuriyama_at_imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama_at_FreeBSD.org> // FreeBSD Project
Received on Wed Aug 18 2004 - 02:18:45 UTC

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