Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299977
b: refs/heads/master
c: 3f42941
h: refs/heads/master
i:
  299975: 269a49b
v: v3
  • Loading branch information
stephen hemminger authored and David S. Miller committed May 1, 2012
1 parent 9a1ab05 commit 2d2304e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d961949660fa1c1b7eb0c3a3c157989c90f14e8e
refs/heads/master: 3f42941b5d1d13542b1a755a9e4f633aa72e4d3e
3 changes: 3 additions & 0 deletions trunk/drivers/net/ethernet/marvell/sky2.c
Original file line number Diff line number Diff line change
Expand Up @@ -2494,8 +2494,11 @@ static struct sk_buff *receive_copy(struct sky2_port *sky2,
skb_copy_from_linear_data(re->skb, skb->data, length);
skb->ip_summed = re->skb->ip_summed;
skb->csum = re->skb->csum;
skb->rxhash = re->skb->rxhash;

pci_dma_sync_single_for_device(sky2->hw->pdev, re->data_addr,
length, PCI_DMA_FROMDEVICE);
re->skb->rxhash = 0;
re->skb->ip_summed = CHECKSUM_NONE;
skb_put(skb, length);
}
Expand Down

0 comments on commit 2d2304e

Please sign in to comment.