Thread (3 messages) read the whole thread 3 messages, 3 authors, 2009-09-15

Re: WARNING: kmemcheck: Caught 32-bit read from uninitialized memory (bf438284)

From: David Miller <davem@davemloft.net>
Date: 2009-09-15 09:39:27
Also in: lkml

From: Ingo Molnar <redacted>
Date: Tue, 15 Sep 2009 11:34:40 +0200
* Eric Dumazet [off-list ref] wrote:
quoted
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 <redacted>
---
 include/linux/net.h |    5 +++++
 net/socket.c        |    1 +
 2 files changed, 6 insertions(+)
Acked-by: Ingo Molnar <redacted>
Applied, thanks everyone.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help