cvs commit: src/sys/netgraph ng_device.c

Gleb Smirnoff glebius at FreeBSD.org
Fri May 27 05:02:36 PDT 2005


glebius     2005-05-27 12:02:35 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sys/netgraph         ng_device.c 
  Log:
  MFC:
    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.11.2.6  +33 -74    src/sys/netgraph/ng_device.c


More information about the cvs-src mailing list