commit | 432aa7ed75b3adaef6040d2cbe745fdd1c899415 | [log] [tgz] |
---|---|---|
author | Matt Carlson <mcarlson@broadcom.com> | Thu May 19 12:12:45 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu May 19 17:59:59 2011 -0400 |
tree | e2f9d271bdbfbd3b4b9e35cb00e8a72cd366dc38 | |
parent | 2ffcc981d823a0518c627ca22d51ef72d0b7ca9a [diff] |
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 <mcarlson@broadcom.com> Reviewed-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>