aoe [1/8]: zero packet data after skb allocation
Subsystems (2)
PATCH 1/1 aoe [1/8]: zero packet data after skb allocation
These eight patches supercede the seven aoe patches sent on January third for the 2.6.15-rc7 kernel. A bug existed in the Jan. 3 set of patches where the retransmit timer for an AoE device AoE timer could be added twice. That bug has been fixed in this set of patches.
Signed-off-by "Ed L. Cashin" <[email protected]>
Zero the data in new socket buffers to prevent leaking information.
drivers/block/aoe/aoecmd.c +1 -0
@@ -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
Signature · 1 line
"Ed L. Cashin" <[email protected]>