diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-01-25 18:18:38 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-27 17:41:06 -0500 |
commit | c2aa3665cf8510b1665ee2f5a9525cf7be6dec4f (patch) | |
tree | 0f4443e66b7b93ba60264b1ce51d3f3057eb74b2 /net/ipv6/route.c | |
parent | 6d3a9a685465986d7653c5abbc0b24681e7c44d7 (diff) |
net: add kmemcheck annotation in __alloc_skb()
pskb_expand_head() triggers a kmemcheck warning when copy of
skb_shared_info is done in pskb_expand_head()
This is because destructor_arg field is not necessarily initialized at
this point. Add kmemcheck_annotate_variable() call in __alloc_skb() to
instruct kmemcheck this is a normal situation.
Resolves bugzilla.kernel.org 27212
Reference: https://bugzilla.kernel.org/show_bug.cgi?id=27212
Reported-by: Christian Casteyde <casteyde.christian@free.fr>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/route.c')
0 files changed, 0 insertions, 0 deletions