aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorIngo Molnar <[email protected]>2005-08-05 23:05:27 +0200
committerLinus Torvalds <[email protected]>2005-08-05 15:56:41 -0700
commit00a5dfdb93f74e4d95fb0d83c890728e331f8810 (patch)
treef1d1043d7d02ad6bde3b158807b28bcfdafa21f6 /net/unix/af_unix.c
parentba02508248e90a9d696aebd18b48a3290235b53c (diff)
[PATCH] Fix semundo lock leakage
semundo->lock can leak if semundo->refcount goes from 2 to 1 while another thread has it locked. This causes major problems for PREEMPT kernels. The simplest fix for now is to undo the single-thread optimization. This bug was found via relentless testing by Dominik Karall. Signed-off-by: Ingo Molnar <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions