diff options
Diffstat (limited to 'drivers/net/r8169.c')
-rw-r--r-- | drivers/net/r8169.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c index bbaf8a55080d..1822491f19cb 100644 --- a/drivers/net/r8169.c +++ b/drivers/net/r8169.c | |||
@@ -3061,7 +3061,7 @@ static int rtl8169_rx_interrupt(struct net_device *dev, | |||
3061 | pkt_size, PCI_DMA_FROMDEVICE); | 3061 | pkt_size, PCI_DMA_FROMDEVICE); |
3062 | rtl8169_mark_to_asic(desc, tp->rx_buf_sz); | 3062 | rtl8169_mark_to_asic(desc, tp->rx_buf_sz); |
3063 | } else { | 3063 | } else { |
3064 | pci_unmap_single(pdev, addr, pkt_size, | 3064 | pci_unmap_single(pdev, addr, tp->rx_buf_sz, |
3065 | PCI_DMA_FROMDEVICE); | 3065 | PCI_DMA_FROMDEVICE); |
3066 | tp->Rx_skbuff[entry] = NULL; | 3066 | tp->Rx_skbuff[entry] = NULL; |
3067 | } | 3067 | } |