I realise that the bug existed before your change, but calling
svc_exit_thread at this point is not good.
The 'goto out_thread' is *before* "pool->sp_nrthreads++", but
svc_exit_thread does "pool->sp_nrthreads--;". Not good.
As you are playing is this code, do you feel like fixing that error
path??
Otherwise, patch looks good.
Acked-By: NeilBrown <neilb@suse.de>
Thanks,
NeilBrown
--