diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2011-05-19 14:12:45 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-19 23:59:59 +0200 |
commit | 432aa7ed75b3adaef6040d2cbe745fdd1c899415 (patch) | |
tree | e2f9d271bdbfbd3b4b9e35cb00e8a72cd366dc38 /drivers/net/tg3.h | |
parent | tg3: Set tx bug flags for more devices (diff) | |
download | linux-432aa7ed75b3adaef6040d2cbe745fdd1c899415.tar.xz linux-432aa7ed75b3adaef6040d2cbe745fdd1c899415.zip |
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>
Diffstat (limited to 'drivers/net/tg3.h')
0 files changed, 0 insertions, 0 deletions