From ecashin@coraid.com Thu Jan 19 10:41:19 2006 Message-ID: <1d5bd928255f552b12b1b329c92257bb@coraid.com> From: "Ed L. Cashin" Date: Thu, 19 Jan 2006 12:37:24 -0500 CC: ecashin@coraid.com, Greg K-H Subject: [PATCH 2.6.15-git9] aoe [1/8]: zero packet data after skb allocation Zero the data in new socket buffers to prevent leaking information. Signed-off-by: "Ed L. Cashin" Signed-off-by: Greg Kroah-Hartman --- drivers/block/aoe/aoecmd.c | 1 + 1 file changed, 1 insertion(+) --- gregkh-2.6.orig/drivers/block/aoe/aoecmd.c +++ gregkh-2.6/drivers/block/aoe/aoecmd.c @@ -28,6 +28,7 @@ new_skb(struct net_device *if_dev, ulong skb->protocol = __constant_htons(ETH_P_AOE); skb->priority = 0; skb_put(skb, len); + memset(skb->head, 0, len); skb->next = skb->prev = NULL; /* tell the network layer not to perform IP checksums