rmacklem 4df6c5e1fc Fix two races in the server side krpc w.r.t upcalls:
Add a flag so that soupcall_clear() is only called once to cancel
  an upcall.
  Move the test for xprt_registered in the upcall down to after the
  mtx_lock() of the pool mutex, to catch the case where it is
  unregistered while the upcall is waiting for the mutex.
Also, move the mtx_destroy() of the pool mutex to after SVC_RELEASE(),
so that it isn't destroyed before the upcalls are disabled.

Reviewed by:	dfr, jhb
Tested by:	pho
Approved by:	kib (mentor)
2009-06-04 14:13:06 +00:00
..
2009-05-30 18:23:55 +00:00
2009-05-12 16:38:32 +00:00
2009-06-04 11:22:53 +00:00
2009-05-23 13:23:46 +00:00
2009-06-03 17:19:12 +00:00
2009-05-28 08:18:12 +00:00
2009-05-30 08:53:13 +00:00