diff options
author | root <root@rshg054.dnsready.net> | 2013-10-06 02:15:56 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-10-06 02:15:56 -0700 |
commit | d3bff0fc1a69eb487b5d45b168c018f44a53b223 (patch) | |
tree | 4bbffc2cb628fc9218eb9ebf990a16a2631b1bcb /kernels/linux-libre-xen/3.11.1-fix-skge.patch | |
parent | 2143b499940459b3dd7e8c6afbd6a2d9b776bc6c (diff) |
Sun Oct 6 02:13:39 PDT 2013
Diffstat (limited to 'kernels/linux-libre-xen/3.11.1-fix-skge.patch')
-rw-r--r-- | kernels/linux-libre-xen/3.11.1-fix-skge.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/kernels/linux-libre-xen/3.11.1-fix-skge.patch b/kernels/linux-libre-xen/3.11.1-fix-skge.patch deleted file mode 100644 index 26d90e080..000000000 --- a/kernels/linux-libre-xen/3.11.1-fix-skge.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- a/drivers/net/ethernet/marvell/skge.c 2013-09-02 16:46:10.000000000 -0400 -+++ b/drivers/net/ethernet/marvell/skge.c 2013-09-22 11:14:10.232067541 -0400 -@@ -3086,23 +3086,27 @@ - PCI_DMA_FROMDEVICE); - skge_rx_reuse(e, skge->rx_buf_size); - } else { -+ struct skge_element ee; - struct sk_buff *nskb; - - nskb = netdev_alloc_skb_ip_align(dev, skge->rx_buf_size); - if (!nskb) - goto resubmit; - -+ ee = *e; -+ -+ skb = ee.skb; -+ prefetch(skb->data); -+ - if (skge_rx_setup(skge, e, nskb, skge->rx_buf_size) < 0) { - dev_kfree_skb(nskb); - goto resubmit; - } - - pci_unmap_single(skge->hw->pdev, -- dma_unmap_addr(e, mapaddr), -- dma_unmap_len(e, maplen), -+ dma_unmap_addr(&ee, mapaddr), -+ dma_unmap_len(&ee, maplen), - PCI_DMA_FROMDEVICE); -- skb = e->skb; -- prefetch(skb->data); - } - - skb_put(skb, len); |