ixgbe: Set IXGBE_RSC_CB(skb)->DMA field to zero after unmapping the address
authorMallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Fri, 19 Mar 2010 04:41:33 +0000 (04:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Mar 2010 04:00:44 +0000 (21:00 -0700)
commitfd3686a842717b890fbe3024b83a616c54d5dba0
tree6a1dc099b24dddc41c0d1367c46ece014ce1d992
parent936332b8e00103fc20eb7e915c9a3bcb2835a11a
ixgbe: Set IXGBE_RSC_CB(skb)->DMA field to zero after unmapping the address

As per Simon Horman's feedback set IXGBE_RSC_CB(skb)->dma to zero
after unmapping HWRSC DMA address to avoid double freeing.

Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_main.c