x86: uv: xpc NULL deref when mesq becomes empty
commit0b9c55355f283356e7d767098ebe074f15acd021
authorRobin Holt <holt@sgi.com>
Wed, 16 Dec 2009 00:47:57 +0000 (15 16:47 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:27:15 +0000 (9 13:27 -0800)
tree3d30088859790de9bc23bae42af00a124bba3e0d
parent48286a6e86d003d469f1ac50bb27d29cf90a8567
x86: uv: xpc NULL deref when mesq becomes empty

commit 15b87d67ff3dc042bee42f991858d6b121b3b3ca upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/misc/sgi-xp/xpc_uv.c