On Fri, 20 Aug 2004, Gordon Bergling wrote: > I recently got a panic with the following output: > > | panic: lock (sleep mutex) inp not locked _at_ > | /usr/src/sys/netinet6/in6_pcb.c:710 > > System is a fresh 5.3-ALPHA running on an idle workstation. Just a few > console applications were running in the background. > > I haven't get my hands on a coredump yet, but if someone is interested > in it I could provide further information. Is this something you can reproduce? The attached patch was created when Jun Kuriyama ran into the same panic a few days ago, but he wasn't sure if he could reproduce it. If you could test it and let me know, that would be great, thanks! Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert_at_fledge.watson.org Principal Research Scientist, McAfee Research Index: in6_pcb.c =================================================================== RCS file: /home/ncvs/src/sys/netinet6/in6_pcb.c,v retrieving revision 1.59 diff -u -r1.59 in6_pcb.c --- in6_pcb.c 14 Aug 2004 15:32:20 -0000 1.59 +++ in6_pcb.c 18 Aug 2004 04:02:00 -0000 _at__at_ -705,9 +705,11 _at__at_ } do_notify: - if (notify) - (*notify)(inp, errno); - INP_UNLOCK(inp); + if (notify) { + if ((*notify)(inp, errno)) + INP_UNLOCK(inp); + } else + INP_UNLOCK(inp); } INP_INFO_WUNLOCK(pcbinfo); splx(s);Received on Fri Aug 20 2004 - 17:17:33 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:07 UTC