diff options
author | Ingo Molnar <mingo@elte.hu> | 2005-08-05 23:05:27 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-08-06 00:56:41 +0200 |
commit | 00a5dfdb93f74e4d95fb0d83c890728e331f8810 (patch) | |
tree | f1d1043d7d02ad6bde3b158807b28bcfdafa21f6 /lib/zlib_inflate | |
parent | [PATCH] blk: fix tag shrinking (revive real_max_size) (diff) | |
download | linux-00a5dfdb93f74e4d95fb0d83c890728e331f8810.tar.xz linux-00a5dfdb93f74e4d95fb0d83c890728e331f8810.zip |
[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 <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib/zlib_inflate')
0 files changed, 0 insertions, 0 deletions