Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 2009 22:58:59 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r188963 - head/sys/netinet6
Message-ID:  <200902232258.n1NMwxLN042075@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rwatson
Date: Mon Feb 23 22:58:59 2009
New Revision: 188963
URL: http://svn.freebsd.org/changeset/base/188963

Log:
  Assert the radix head lock in in6_rtqkill().
  
  MFC after:	3 days

Modified:
  head/sys/netinet6/in6_rmx.c

Modified: head/sys/netinet6/in6_rmx.c
==============================================================================
--- head/sys/netinet6/in6_rmx.c	Mon Feb 23 22:57:55 2009	(r188962)
+++ head/sys/netinet6/in6_rmx.c	Mon Feb 23 22:58:59 2009	(r188963)
@@ -244,6 +244,8 @@ in6_rtqkill(struct radix_node *rn, void 
 	struct rtentry *rt = (struct rtentry *)rn;
 	int err;
 
+	RADIX_NODE_HEAD_WLOCK_ASSERT(ap->rnh);
+
 	if (rt->rt_flags & RTPRF_OURS) {
 		ap->found++;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902232258.n1NMwxLN042075>