From: David Woodhouse Date: Tue, 11 Dec 2012 14:57:14 +0000 (+0000) Subject: solos-pci: fix double-free of TX skb in DMA mode X-Git-Tag: v3.2.36~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa184e74c74a264e0e33ea8807ae66f248ce0c78;p=pandora-kernel.git solos-pci: fix double-free of TX skb in DMA mode commit cae49ede00ec3d0cda290b03fee55b72b49efc11 upstream. We weren't clearing card->tx_skb[port] when processing the TX done interrupt. If there wasn't another skb ready to transmit immediately, this led to a double-free because we'd free it *again* next time we did have a packet to send. Signed-off-by: David Woodhouse Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed