Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Aug 2009 21:14:04 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/net if.c
Message-ID:  <200908282114.n7SLEKS1081544@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2009-08-28 21:14:04 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    sys/net              if.c 
  Log:
  SVN rev 196632 on 2009-08-28 21:14:04Z by rwatson
  
  Merge r196559 from head to stable/8:
  
    Add IFNET_HOLD reserved pointer value for the ifindex ifnet array,
    which allows an index to be reserved for an ifnet without making
    the ifnet available for management operations.  Use this in if_alloc()
    while the ifnet lock is released between initial index allocation and
    completion of ifnet initialization.
  
    Add ifindex_free() to centralize the implementation of releasing an
    ifindex value.  Use in if_free() and if_vmove(), as well as when
    releasing a held index in if_alloc().
  
    Reviewed by:  bz
  
  Approved by:    re (kib)
  
  Revision   Changes    Path
  1.359.2.7  +39 -13    src/sys/net/if.c



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