• Neil Brown's avatar
    [PATCH] Reorganise sock init in rpcsvc to avoid races. · fdefaeab
    Neil Brown authored
    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.
    fdefaeab
svcsock.c 37.5 KB