summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKenneth W. Chen <kenneth.w.chen@intel.com>2005-03-09 16:27:58 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-03-09 16:27:58 -0800
commitb0234a620a248e7d2f0a5c0d3af93aa0df1a7a28 (patch)
treeda18f14846e3843ab7b2be96632e79155350c354 /include/linux
parent3a85d4dd4dc909516ccdd46c8deb824a7cf058a3 (diff)
[PATCH] fix in slab.c:alloc_arraycache
Kmem_cache_alloc_node is not capable of handling a null cachep pointer as its input argument. If I try to increase a slab limit by echoing a very large number into /proc/slabinfo, kernel will panic from alloc_arraycache() because Kmem_find_general_cachep() can actually return a NULL pointer if the size argument is sufficiently large. Signed-off-by: Ken Chen <kenneth.w.chen@intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions