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 <email@example.com> Reviewed-by: Jeffrey Huang <firstname.lastname@example.org> Signed-off-by: Michael Chan <email@example.com> Signed-off-by: David S. Miller <firstname.lastname@example.org>