Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jun 2018 19:21:10 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335262 - head/sys/net
Message-ID:  <201806161921.w5GJLA88045383@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ae
Date: Sat Jun 16 19:21:09 2018
New Revision: 335262
URL: https://svnweb.freebsd.org/changeset/base/335262

Log:
  Fix typo.
  
  Reported by:	rpokala

Modified:
  head/sys/net/radix.h

Modified: head/sys/net/radix.h
==============================================================================
--- head/sys/net/radix.h	Sat Jun 16 18:29:24 2018	(r335261)
+++ head/sys/net/radix.h	Sat Jun 16 19:21:09 2018	(r335262)
@@ -159,15 +159,15 @@ void rn_inithead_internal(struct radix_head *rh, struc
 #define R_Zalloc(p, t, n) (p = (t) malloc((unsigned long)(n), M_RTABLE, M_NOWAIT | M_ZERO))
 #define R_Free(p) free((caddr_t)p, M_RTABLE);
 
-#define	RADIX_NODE_HEAD_RLOCK_TRACKER	struct rm_priotracker _rhn_tracker
+#define	RADIX_NODE_HEAD_RLOCK_TRACKER	struct rm_priotracker _rnh_tracker
 #define	RADIX_NODE_HEAD_LOCK_INIT(rnh)	\
     rm_init(&(rnh)->rnh_lock, "radix node head")
 #define	RADIX_NODE_HEAD_LOCK(rnh)	rm_wlock(&(rnh)->rnh_lock)
 #define	RADIX_NODE_HEAD_UNLOCK(rnh)	rm_wunlock(&(rnh)->rnh_lock)
 #define	RADIX_NODE_HEAD_RLOCK(rnh)	rm_rlock(&(rnh)->rnh_lock,\
-    &_rhn_tracker)
+    &_rnh_tracker)
 #define	RADIX_NODE_HEAD_RUNLOCK(rnh)	rm_runlock(&(rnh)->rnh_lock,\
-    &_rhn_tracker)
+    &_rnh_tracker)
 #define	RADIX_NODE_HEAD_DESTROY(rnh)	rm_destroy(&(rnh)->rnh_lock)
 #define	RADIX_NODE_HEAD_LOCK_ASSERT(rnh) rm_assert(&(rnh)->rnh_lock, RA_LOCKED)
 #define	RADIX_NODE_HEAD_WLOCK_ASSERT(rnh) rm_assert(&(rnh)->rnh_lock, RA_WLOCKED)



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