server: create sk_out_key earlier
authorJens Axboe <axboe@fb.com>
Mon, 14 Dec 2015 21:46:32 +0000 (14:46 -0700)
committerJens Axboe <axboe@fb.com>
Mon, 14 Dec 2015 21:46:32 +0000 (14:46 -0700)
The previous code worked on Linux, since we seem to get '0' as
the key always. It segfaults on other platforms, since we
call pthread_getspecific() before the key has been created.

Signed-off-by: Jens Axboe <axboe@fb.com>

No differences found