summaryrefslogtreecommitdiffstats
path: root/kernel/lockdep.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-05-04 19:25:11 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-05-05 02:19:59 +0200
commitfbfd1d2862a8316c7191bc551c6a842e6918abb0 (patch)
tree06c5a391238bcf93bb3d7f2c587d069eeb6809e5 /kernel/lockdep.c
parentipc: move the rcu_read_lock() from sem_lock_and_putref() into callers (diff)
downloadlinux-fbfd1d2862a8316c7191bc551c6a842e6918abb0.tar.xz
linux-fbfd1d2862a8316c7191bc551c6a842e6918abb0.zip
ipc: fix double sem unlock in semctl error path
Fix another ipc locking buglet introduced by the scalability patches: when semctl_down() was changed to delay the semaphore locking, one error path for security_sem_semctl() went through the semaphore unlock logic even though the semaphore had never been locked. Introduced by commit 16df3674efe3 ("ipc,sem: do not hold ipc lock more than necessary") Acked-by: Davidlohr Bueso <davidlohr.bueso@hp.com> Cc: Rik van Riel <riel@redhat.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/lockdep.c')
0 files changed, 0 insertions, 0 deletions