cvs commit: src/sys/netgraph ng_base.c

Robert Watson rwatson at
Wed Jun 23 18:47:49 PDT 2004

rwatson     2004-06-24 01:47:32 UTC

  FreeBSD src repository

  Modified files:
    sys/netgraph         ng_base.c 
  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

More information about the cvs-src mailing list