Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Mar 2005 16:02:53 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/netgraph ng_device.c
Message-ID:  <200503141602.j2EG2rn8067503@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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