[PATCH] Reorganise sock init in rpcsvc to avoid races.
If one of the callback (e.g. data ready) is called before socket setup is complete, oops may occur. With this patch, socket is kept SK_BUSY until all is ready to avoid this. Also some code is moved around to make it cleaner.
Showing
Please register or sign in to comment