aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/block/aoe/aoecmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/aoe/aoecmd.c b/drivers/block/aoe/aoecmd.c
index 326ca3876b68..4ab01ce5cf36 100644
--- a/drivers/block/aoe/aoecmd.c
+++ b/drivers/block/aoe/aoecmd.c
@@ -28,6 +28,7 @@ new_skb(struct net_device *if_dev, ulong len)
28 skb->protocol = __constant_htons(ETH_P_AOE); 28 skb->protocol = __constant_htons(ETH_P_AOE);
29 skb->priority = 0; 29 skb->priority = 0;
30 skb_put(skb, len); 30 skb_put(skb, len);
31 memset(skb->head, 0, len);
31 skb->next = skb->prev = NULL; 32 skb->next = skb->prev = NULL;
32 33
33 /* tell the network layer not to perform IP checksums 34 /* tell the network layer not to perform IP checksums