Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2004 08:31:20 -0800 (PST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/net if_disc.c
Message-ID:  <200403091631.i29GVKH1036455@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2004/03/09 08:31:20 PST

  FreeBSD src repository

  Modified files:
    sys/net              if_disc.c 
  Log:
  Introduce disc_mtx to protect the global softc list in if_disc.
  
  Since there are two destroy paths for if_disc interfaces --
  module unload and cloan interface destroy, create a new utility
  function disc_destroy(), which is callded on a softc after it
  has been removed from the global softc list; the cloaner and
  module unload entry paths will both remove it before calling
  disc_destroy().
  
  Reviewed by:    pjd
  
  Revision  Changes    Path
  1.39      +29 -8     src/sys/net/if_disc.c



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