cvs commit: src/sys/netgraph ng_device.c

Gleb Smirnoff glebius at FreeBSD.org
Mon Mar 14 08:02:54 PST 2005


glebius     2005-03-14 16:02:53 UTC

  FreeBSD src repository

  Modified files:
    sys/netgraph         ng_device.c 
  Log:
  o Use subr_unit allocator. This simplifies code much:
    - Remove get_free_unit().
    - Remove SLIST of nodes.
    - Remove global mutex.
  
  o Increase NGD_MAX to 999.
  o Move ngd_mod_event() up to netgraph methods.
  
  Revision  Changes    Path
  1.20      +33 -95    src/sys/netgraph/ng_device.c


More information about the cvs-src mailing list