Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jun 2009 22:50:26 +0000 (UTC)
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/nfsserver nfs_srvkrpc.c src/sys/nlm nlm_prot_impl.c src/sys/rpc svc.c svc_generic.c svc_vc.c
Message-ID:  <200906172250.n5HMosoo023476@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rmacklem    2009-06-17 22:50:26 UTC

  FreeBSD src repository

  Modified files:
    sys/nfsserver        nfs_srvkrpc.c 
    sys/nlm              nlm_prot_impl.c 
    sys/rpc              svc.c svc_generic.c svc_vc.c 
  Log:
  SVN rev 194407 on 2009-06-17 22:50:26Z by rmacklem
  
  Since svc_[dg|vc|tli|tp]_create() did not hold a reference count on the
  SVCXPTR structure returned by them, it was possible for the structure
  to be free'd before svc_reg() had been completed using the structure.
  This patch acquires a reference count on the newly created structure
  that is returned by svc_[dg|vc|tli|tp]_create(). It also
  adds the appropriate SVC_RELEASE() calls to the callers, except the
  experimental nfs subsystem. The latter will be committed separately.
  
  Submitted by:   dfr
  Tested by:      pho
  Approved by:    kib (mentor)
  
  Revision  Changes    Path
  1.11      +1 -0      src/sys/nfsserver/nfs_srvkrpc.c
  1.20      +5 -1      src/sys/nlm/nlm_prot_impl.c
  1.7       +1 -0      src/sys/rpc/svc.c
  1.4       +4 -1      src/sys/rpc/svc_generic.c
  1.9       +7 -2      src/sys/rpc/svc_vc.c



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