aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorZygo Blaxell <[email protected]>2009-06-16 15:33:57 -0700
committerLinus Torvalds <[email protected]>2009-06-16 19:47:53 -0700
commit8e8a2dea0ca91fe2cb7de7ea212124cfe8c82c35 (patch)
tree96d07171a5c95e87c69fc18d4d0e582f90095d4e /net/lapb/lapb_in.c
parent69050eee8e08a6234f29fe71a56f8c7c7d4d7186 (diff)
lib/genalloc.c: remove unmatched write_lock() in gen_pool_destroy
There is a call to write_lock() in gen_pool_destroy which is not balanced by any corresponding write_unlock(). This causes problems with preemption because the preemption-disable counter is incremented in the write_lock() call, but never decremented by any call to write_unlock(). This bug is gen_pool_destroy, and one of them is non-x86 arch-specific code. Signed-off-by: Zygo Blaxell <[email protected]> Cc: Jiri Kosina <[email protected]> Cc: Steve Wise <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions