Commit c1f5163d authored by Committed by David S. MillerBrowse files
bnx2: Fix bug in bnx2_free_tx_skbs().
In rare cases, bnx2x_free_tx_skbs() can unmap the wrong DMA address when it gets to the last entry of the tx ring. We were not using the proper macro to skip the last entry when advancing the tx index. Reported-by: Zongyun Lai <firstname.lastname@example.org> Reviewed-by: Jeffrey Huang <email@example.com> Signed-off-by: Michael Chan <firstname.lastname@example.org> Signed-off-by: David S. Miller <email@example.com>
Showing with 3 additions and 3 deletions