Messages in this thread | | | Date | Tue, 15 Sep 2009 02:39:39 -0700 (PDT) | Subject | Re: WARNING: kmemcheck: Caught 32-bit read from uninitialized memory (bf438284) | From | David Miller <> |
| |
From: Ingo Molnar <mingo@elte.hu> Date: Tue, 15 Sep 2009 11:34:40 +0200
> > * Eric Dumazet <eric.dumazet@gmail.com> wrote: > >> Either we add kmemcheck annotations, or we switch sock->type from short >> to int to avoid the hole, and possibly to speedup things... >> >> [PATCH] net: kmemcheck annotation in struct socket >> >> struct socket has a 16 bit hole that triggers kmemcheck warnings. >> >> As suggested by Ingo, use kmemcheck annotations >> >> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> >> --- >> include/linux/net.h | 5 +++++ >> net/socket.c | 1 + >> 2 files changed, 6 insertions(+) > > Acked-by: Ingo Molnar <mingo@elte.hu>
Applied, thanks everyone.
| |