Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Aug 2006 16:27:15 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/nfsserver nfs.h nfs_srvcache.c nfs_srvsubs.c
Message-ID:  <200608011627.k71GRFrm006558@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2006-08-01 16:27:15 UTC

  FreeBSD src repository

  Modified files:
    sys/nfsserver        nfs.h nfs_srvcache.c nfs_srvsubs.c 
  Log:
  - Add a new function nfsrv_destroycache() to tear down the server request
    cache when unloading the nfsserver module.  This fixes a memory leak and
    a stale pointer.
  - Use callout_drain() rather than callout_stop() when unloading the
    nfsserver module.
  
  MFC after:      3 days
  
  Revision  Changes    Path
  1.80      +1 -0      src/sys/nfsserver/nfs.h
  1.43      +14 -2     src/sys/nfsserver/nfs_srvcache.c
  1.143     +2 -1      src/sys/nfsserver/nfs_srvsubs.c



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