From: Matt Carlson Date: Thu, 19 May 2011 12:12:45 +0000 (+0000) Subject: tg3: Cleanup transmit error path X-Git-Tag: v3.0-rc1~377^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=432aa7ed75b3adaef6040d2cbe745fdd1c899415;p=pandora-kernel.git tg3: Cleanup transmit error path This patch consolidates the skb cleanup code into a function named tg3_skb_error_unmap(). The modification addresses a long-standing bug where pci_unmap_single() was incorrectly being called instead of pci_unmap_page() in tigon3_dma_hwbug_workaround(). Signed-off-by: Matt Carlson Reviewed-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed