diff options
Diffstat (limited to 'drivers/net/e1000/e1000_main.c')
-rw-r--r-- | drivers/net/e1000/e1000_main.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index 6ee8ed5606f1..9e58419c8729 100644 --- a/drivers/net/e1000/e1000_main.c +++ b/drivers/net/e1000/e1000_main.c | |||
@@ -3686,12 +3686,9 @@ e1000_clean_rx_irq_ps(struct e1000_adapter *adapter, | |||
3686 | pci_unmap_page(pdev, ps_page_dma->ps_page_dma[j], | 3686 | pci_unmap_page(pdev, ps_page_dma->ps_page_dma[j], |
3687 | PAGE_SIZE, PCI_DMA_FROMDEVICE); | 3687 | PAGE_SIZE, PCI_DMA_FROMDEVICE); |
3688 | ps_page_dma->ps_page_dma[j] = 0; | 3688 | ps_page_dma->ps_page_dma[j] = 0; |
3689 | skb_shinfo(skb)->frags[j].page = | 3689 | skb_fill_page_desc(skb, j, ps_page->ps_page[j], 0, |
3690 | ps_page->ps_page[j]; | 3690 | length); |
3691 | ps_page->ps_page[j] = NULL; | 3691 | ps_page->ps_page[j] = NULL; |
3692 | skb_shinfo(skb)->frags[j].page_offset = 0; | ||
3693 | skb_shinfo(skb)->frags[j].size = length; | ||
3694 | skb_shinfo(skb)->nr_frags++; | ||
3695 | skb->len += length; | 3692 | skb->len += length; |
3696 | skb->data_len += length; | 3693 | skb->data_len += length; |
3697 | } | 3694 | } |