From owner-freebsd-current Fri Jun 14 1:37:58 2002 Delivered-To: freebsd-current@freebsd.org Received: from mta6.snfc21.pbi.net (mta6.snfc21.pbi.net [206.13.28.240]) by hub.freebsd.org (Postfix) with ESMTP id DB81037B40A; Fri, 14 Jun 2002 01:37:53 -0700 (PDT) Received: from FreeBSD.org ([63.193.112.125]) by mta6.snfc21.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0GXO000DRTB5E4@mta6.snfc21.pbi.net>; Fri, 14 Jun 2002 01:37:53 -0700 (PDT) Date: Fri, 14 Jun 2002 01:38:11 -0700 From: Jeffrey Hsu Subject: Re: Crash after world/kernel upgrade In-reply-to: Message from Sid Carter "of Fri, 14 Jun 2002 10:44:59 +0530." <20020614051459.GA323@calvin.in.ibm.com> To: Sid Carter Cc: jhb@freebsd.org, current@freebsd.org, yangjihui@yahoo.com Message-id: <0GXO000DSTB5E4@mta6.snfc21.pbi.net> MIME-version: 1.0 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Jun 14 10:36:08 calvin syslogd: kernel boot file is /boot/kernel/kernel > Jun 14 10:36:08 calvin kernel: panic: lock (sleep mutex) inp not locked @ /usr/src/sys/netinet/tcp_subr.c:1069 Thanks for the bug report, Sid. This panic should be addressed by the following commit: hsu 2002/06/14 01:35:21 PDT Modified files: sys/netinet in_pcb.c in_pcb.h tcp_subr.c tcp_var.h udp_usrreq.c udp_var.h sys/netinet6 in6_pcb.c in6_pcb.h raw_ip6.c udp6_usrreq.c Log: Notify functions can destroy the pcb, so they have to return an indication of whether this happenned so the calling function knows whether or not to unlock the pcb. Submitted by: Jennifer Yang (yangjihui@yahoo.com) Bug reported by: Sid Carter (sidcarter@symonds.net) Revision Changes Path 1.108 +3 -2 src/sys/netinet/in_pcb.c 1.50 +3 -2 src/sys/netinet/in_pcb.h 1.132 +24 -15 src/sys/netinet/tcp_subr.c 1.81 +6 -3 src/sys/netinet/tcp_var.h 1.113 +3 -2 src/sys/netinet/udp_usrreq.c 1.26 +2 -1 src/sys/netinet/udp_var.h 1.31 +3 -2 src/sys/netinet6/in6_pcb.c 1.8 +3 -2 src/sys/netinet6/in6_pcb.h 1.21 +1 -1 src/sys/netinet6/raw_ip6.c 1.28 +1 -1 src/sys/netinet6/udp6_usrreq.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message