Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Aug 2005 15:33:57 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 81405 for review
Message-ID:  <200508031533.j73FXv0O095740@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=81405

Change 81405 by rwatson@rwatson_zoo on 2005/08/03 15:33:23

	Mark if_addr_mtx as recursive due to reentrance into IP from
	igmp.  Need to think through this one.

Affected files ...

.. //depot/projects/netsmp/src/sys/net/if_var.h#7 edit

Differences ...

==== //depot/projects/netsmp/src/sys/net/if_var.h#7 (text+ko) ====

@@ -221,7 +221,7 @@
  * Locks for address lists on the network interface.
  */
 #define	IF_ADDR_LOCK_INIT(if)	mtx_init(&(if)->if_addr_mtx,		\
-				    "if_addr_mtx", NULL, MTX_DEF)
+				    "if_addr_mtx", NULL, MTX_DEF | MTX_RECURSE)
 #define	IF_ADDR_LOCK_DESTROY(if)	mtx_destroy(&(if)->if_addr_mtx)
 #define	IF_ADDR_LOCK(if)	mtx_lock(&(if)->if_addr_mtx)
 #define	IF_ADDR_UNLOCK(if)	mtx_unlock(&(if)->if_addr_mtx)



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