]> git.baikalelectronics.ru Git - kernel.git/commit
net: remove two kmemcheck annotations
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 3 Sep 2010 06:27:08 +0000 (06:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Sep 2010 16:44:51 +0000 (09:44 -0700)
commit0bd37272a9771882106639b3374291c4c88a6ae4
tree78a42b581cbb61f74bfb56cdd7f6d4b0afeb75e5
parenta78dc64d90e44b68fe52b7412122b75a9ceb48c7
net: remove two kmemcheck annotations

__alloc_skb() uses a memset() to clear all the beginning of skb,
including bitfields contained in 'flags1' & 'flags2'.

We dont need any more to use kmemcheck_annotate_bitfield() on these
fields. However, we still need it for the clone part, which is not
cleared.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c