]> bbs.cooldavid.org Git - net-next-2.6.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)
commit52ee7a04a0f88815a71acdc604a854fb30dcbe45
tree78a42b581cbb61f74bfb56cdd7f6d4b0afeb75e5
parent1a18abaa87c4c68a13c2ffcace39a078605b980a
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