lkml.org 
[lkml]   [2009]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: WARNING: kmemcheck: Caught 32-bit read from uninitialized memory (bf438284)
    From
    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.


    \
     
     \ /
      Last update: 2009-09-15 11:41    [W:0.031 / U:29.960 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site