cvs commit: src/sys/net if_tun.c

Robert Watson rwatson at FreeBSD.org
Mon Mar 29 10:42:52 PST 2004


rwatson     2004/03/29 10:42:51 PST

  FreeBSD src repository

  Modified files:
    sys/net              if_tun.c 
  Log:
  Lock down if_tun global variables using a new mutex, tunmtx.  As with
  other pseudo-interfaces, break out tear-down of a softc into a
  separate tun_destroy() function, and invoke that from the module
  unloader.  Hold tunmtx across manipulations of the global softc list.
  
  Revision  Changes    Path
  1.138     +31 -11    src/sys/net/if_tun.c


More information about the cvs-src mailing list