Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Sep 2004 08:56:17 -0400 (EDT)
From:      Robert Watson <rwatson@freebsd.org>
To:        Patrick Guelat <pg@imp.ch>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Panic in propagate_priority() [5.3-BETA2]
Message-ID:  <Pine.NEB.3.96L.1040902085519.47283A-100000@fledge.watson.org>
In-Reply-To: <20040902081926.J48093@murphy.imp.ch>

next in thread | previous in thread | raw e-mail | index | archive | help

On Thu, 2 Sep 2004, Patrick Guelat wrote:

> exclusive sleep mutex rip r=1 (0xc079e70c) locked @ /usr/src53/sys/netinet6/raw_ip.c:255

Ah, indeed, there's an incorrect "lock" instead of "unlock" there.  Could
you try the attached patch:

Index: raw_ip6.c
===================================================================
RCS file: /data/fbsd-cvs/ncvs/src/sys/netinet6/raw_ip6.c,v
retrieving revision 1.45
diff -u -r1.45 raw_ip6.c
--- raw_ip6.c	12 Aug 2004 18:31:36 -0000	1.45
+++ raw_ip6.c	2 Sep 2004 12:55:19 -0000
@@ -252,7 +252,7 @@
 		}
 		ip6stat.ip6s_delivered--;
 	}
-	INP_INFO_RLOCK(&ripcbinfo);
+	INP_INFO_RUNLOCK(&ripcbinfo);
 	return IPPROTO_DONE;
 }
 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1040902085519.47283A-100000>