summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorHaicheng Li <haicheng.li@linux.intel.com>2010-01-06 15:25:23 +0800
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-15 08:49:36 -0700
commitb36eb52d66d4ac8c4aa00456f5a62ec8aca1a489 (patch)
tree477219e3c43a6fba83f9321ad7bb64bfaf221e9d /net
parent7c0f2aedfa71f7f48c780b11eef1322ff4b9d40f (diff)
slab: initialize unused alien cache entry as NULL at alloc_alien_cache().
commit f3186a9c51eabe75b2780153ed7f07778d78b16e upstream. Comparing with existing code, it's a simpler way to use kzalloc_node() to ensure that each unused alien cache entry is NULL. CC: Eric Dumazet <eric.dumazet@gmail.com> Acked-by: Andi Kleen <ak@linux.intel.com> Acked-by: Christoph Lameter <cl@linux-foundation.org> Acked-by: Matt Mackall <mpm@selenic.com> Signed-off-by: Haicheng Li <haicheng.li@linux.intel.com> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions