![]() | |||||||||||||
Messages in this thread |
In-Reply-To: <Pine.LNX.4.64.0603061917330.3573@g5.osdl.org>
On Mon, 6 Mar 2006 19:20:13 -0800, Linus Torvalds wrote:
> > When someone converted the *buffer* allocation to kzalloc they
> > also removed the the memset for the *packet_cmmand* struct.
> >
> > The
> >
> > memset(&cgc, 0, sizeof(struct packet_command));
> >
> > should be added back I think.
>
> Good eyes. I bet that's it.
Heh. This exact fix was posted to linux-kernel by Lee Schermerhorn
three weeks ago:
Date: Wed, 15 Feb 2006 14:07:37 -0500
From: Lee Schermerhorn <lee.schermerhorn@hp.com>
Subject: [PATCH] 2.6.16-rc3-mm1 - restore zeroing of packet_command
struct in sr_ioctl.c
To: linux-kernel <linux-kernel@vger.kernel.org>
Cc: Andrew Morton <akpm@osdl.org>
Message-ID: <1140030457.6619.3.camel@localhost.localdomain>
--
Chuck
"Penguins don't come from next door, they come from the Antarctic!"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
| ||||||||||||
| Last update: 2006-03-08 07:35 [from the cache] ©2003-2008 | |||||||||||||