diff options
Diffstat (limited to 'drivers/net/mlx4/en_rx.c')
-rw-r--r-- | drivers/net/mlx4/en_rx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mlx4/en_rx.c b/drivers/net/mlx4/en_rx.c index 2add04025fd0..4335c58160d7 100644 --- a/drivers/net/mlx4/en_rx.c +++ b/drivers/net/mlx4/en_rx.c | |||
@@ -459,7 +459,7 @@ static int mlx4_en_complete_rx_desc(struct mlx4_en_priv *priv, | |||
459 | goto fail; | 459 | goto fail; |
460 | 460 | ||
461 | /* Unmap buffer */ | 461 | /* Unmap buffer */ |
462 | pci_unmap_single(mdev->pdev, dma, skb_frags[nr].size, | 462 | pci_unmap_single(mdev->pdev, dma, skb_frags_rx[nr].size, |
463 | PCI_DMA_FROMDEVICE); | 463 | PCI_DMA_FROMDEVICE); |
464 | } | 464 | } |
465 | /* Adjust size of last fragment to match actual length */ | 465 | /* Adjust size of last fragment to match actual length */ |