Date: Thu, 24 Jun 2004 01:47:32 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netgraph ng_base.c Message-ID: <200406240147.i5O1lWrc013877@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2004-06-24 01:47:32 UTC FreeBSD src repository Modified files: sys/netgraph ng_base.c Log: Clean up use of ng_hdhasb_mtx a little: - Assert the mutex in NG_IDHASH_FIND() since the mutex is required to safely walk the node lists in the ng_ID_hash table. - Acquire the ng_nodelist_mtx when walking ng_allnodes or ng_allhooks to generate state dump output from the netgraph sysctls. Revision Changes Path 1.76 +5 -0 src/sys/netgraph/ng_base.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406240147.i5O1lWrc013877>