]> nv-tegra.nvidia Code Review - linux-3.10.git/blobdiff - arch/mips/kernel/irixsig.c
mips: undo locking on error path returns
[linux-3.10.git] / arch / mips / kernel / irixsig.c
index 33506ff25910f4d8f8974c7a0d9b2098649e8681..5b10ac133ec837b4ccd91844a42321d6a68769fd 100644 (file)
@@ -430,6 +430,7 @@ asmlinkage int irix_sigprocmask(int how, irix_sigset_t __user *new,
                        break;
 
                default:
+                       spin_unlock_irq(&current->sighand->siglock);
                        return -EINVAL;
                }
                recalc_sigpending();