]> git.baikalelectronics.ru Git - kernel.git/commit
x86: uv: xpc NULL deref when mesq becomes empty
authorRobin Holt <holt@sgi.com>
Wed, 16 Dec 2009 00:47:57 +0000 (16:47 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 16 Dec 2009 15:20:14 +0000 (07:20 -0800)
commitca5011aa1e069fa237d1b199cec46e2d6cae47b5
tree48e72a7ce8b4113b3dfcdcd31ca9bdce38ee3cd9
parent788611c30f9999829754faa68e2fbbcb7f14b43e
x86: uv: xpc NULL deref when mesq becomes empty

Under heavy load conditions, our set of xpc messages may become exhausted.
 The code handles this correctly with the exception of the management code
which hits a NULL pointer dereference.

Signed-off-by: Robin Holt <holt@sgi.com>
Cc: Jack Steiner <steiner@sgi.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/misc/sgi-xp/xpc_uv.c