Skip to content

Commit 42d45fe

Browse files
committed
Remove dma_unmap_single_attrs call.
Mistaken addition of dma_unmap call in bnxt_free_rx_skbs was causing panics in some circumstances, remove the call. Orabug: 26713916 Signed-off-by: Jack Vogel <[email protected]> Reviewed-by: Ken Brucker <[email protected]> Reviewed-by: Shannon Nelson ([email protected]>
1 parent c8ded18 commit 42d45fe

File tree

1 file changed

+0
-4
lines changed
  • drivers/net/ethernet/broadcom/bnxt

1 file changed

+0
-4
lines changed

drivers/net/ethernet/broadcom/bnxt/bnxt.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2060,10 +2060,6 @@ static void bnxt_free_rx_skbs(struct bnxt *bp)
20602060
if (!data)
20612061
continue;
20622062

2063-
dma_unmap_single_attrs(&pdev->dev, rx_buf->mapping,
2064-
bp->rx_buf_use_size, bp->rx_dir,
2065-
&attrs);
2066-
20672063
rx_buf->data = NULL;
20682064

20692065
if (BNXT_RX_PAGE_MODE(bp)) {

0 commit comments

Comments
 (0)