On 03/26/2013 01:59 PM, Davidlohr Bueso wrote:
From: Davidlohr Bueso <davidlohr.bu...@hp.com>
Subject: [PATCH] ipc, sem: prevent possible deadlock
In semctl_main(), when cmd == GETALL, we're locking
sma->sem_perm.lock (through sem_lock_and_putref), yet
after the conditional, we lock it again.
Unlock sma right after exiting the conditional.
Signed-off-by: Davidlohr Bueso <davidlohr.bu...@hp.com>
Reviewed-by: Rik van Riel <r...@redhat.com>
--
All rights reversed.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/