Re: Panic in propagate_priority() [5.3-BETA2]

From: Robert Watson <rwatson_at_freebsd.org>
Date: Thu, 2 Sep 2004 08:56:17 -0400 (EDT)
On Thu, 2 Sep 2004, Patrick Guelat wrote:

> exclusive sleep mutex rip r=1 (0xc079e70c) locked _at_ /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
_at__at_ -252,7 +252,7 _at__at_
 		}
 		ip6stat.ip6s_delivered--;
 	}
-	INP_INFO_RLOCK(&ripcbinfo);
+	INP_INFO_RUNLOCK(&ripcbinfo);
 	return IPPROTO_DONE;
 }
 
Received on Thu Sep 02 2004 - 10:58:57 UTC

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