freebsd-nq/sys/nlm
Rick Macklem 6b97c9f09a 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)
2009-06-17 22:50:26 +00:00
..
nlm_advlock.c Rename the host-related prison fields to be the same as the host.* 2009-06-13 15:39:12 +00:00
nlm_prot_clnt.c Re-implement the client side of rpc.lockd in the kernel. This implementation 2008-06-26 10:21:54 +00:00
nlm_prot_impl.c Since svc_[dg|vc|tli|tp]_create() did not hold a reference count on the 2009-06-17 22:50:26 +00:00
nlm_prot_server.c Add a missing return statement in nlm4_unlock_msg_4_svc which prevented it 2008-08-25 09:30:27 +00:00
nlm_prot_svc.c Don't call svc_freereq() before svc_freeargs(). 2008-11-12 15:30:30 +00:00
nlm_prot_xdr.c Minor changes to improve compatibility with older FreeBSD releases. 2008-03-28 09:50:32 +00:00
nlm_prot.h Re-implement the client side of rpc.lockd in the kernel. This implementation 2008-06-26 10:21:54 +00:00
nlm.h Add a function to sys/nlm/nlm_prot_impl.c that returns a unique 2009-05-21 01:14:12 +00:00
sm_inter_xdr.c Minor changes to improve compatibility with older FreeBSD releases. 2008-03-28 09:50:32 +00:00
sm_inter.h