summaryrefslogtreecommitdiffstats
path: root/include/net/genetlink.h
diff options
context:
space:
mode:
authorEric Dumazet2011-02-14 18:35:22 +0100
committerPekka Enberg2011-02-23 10:59:30 +0100
commitb3d41885d9cd0d9db31c8f49e362bae02c96fa3f (patch)
treeab8f134456c9ae06ee0532a8ff0b7296e4d51c16 /include/net/genetlink.h
parentmm: Remove support for kmem_cache_name() (diff)
downloadkernel-qcow2-linux-b3d41885d9cd0d9db31c8f49e362bae02c96fa3f.tar.gz
kernel-qcow2-linux-b3d41885d9cd0d9db31c8f49e362bae02c96fa3f.tar.xz
kernel-qcow2-linux-b3d41885d9cd0d9db31c8f49e362bae02c96fa3f.zip
slub: fix kmemcheck calls to match ksize() hints
Recent use of ksize() in network stack (commit ca44ac38 : net: don't reallocate skb->head unless the current one hasn't the needed extra size or is shared) triggers kmemcheck warnings, because ksize() can return more space than kmemcheck is aware of. Pekka Enberg noticed SLAB+kmemcheck is doing the right thing, while SLUB +kmemcheck doesnt. Bugzilla reference #27212 Reported-by: Christian Casteyde <casteyde.christian@free.fr> Suggested-by: Pekka Enberg <penberg@kernel.org> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Acked-by: David S. Miller <davem@davemloft.net> Acked-by: David Rientjes <rientjes@google.com> Acked-by: Christoph Lameter <cl@linux.com> CC: Changli Gao <xiaosuo@gmail.com> CC: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'include/net/genetlink.h')
0 files changed, 0 insertions, 0 deletions