diff options
-rw-r--r-- | drivers/net/ethernet/marvell/sky2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/marvell/sky2.c b/drivers/net/ethernet/marvell/sky2.c index 256ae789c143..d175bbd3ffd3 100644 --- a/drivers/net/ethernet/marvell/sky2.c +++ b/drivers/net/ethernet/marvell/sky2.c | |||
@@ -2496,10 +2496,12 @@ static struct sk_buff *receive_copy(struct sky2_port *sky2, | |||
2496 | skb->ip_summed = re->skb->ip_summed; | 2496 | skb->ip_summed = re->skb->ip_summed; |
2497 | skb->csum = re->skb->csum; | 2497 | skb->csum = re->skb->csum; |
2498 | skb->rxhash = re->skb->rxhash; | 2498 | skb->rxhash = re->skb->rxhash; |
2499 | skb->vlan_proto = re->skb->vlan_proto; | ||
2499 | skb->vlan_tci = re->skb->vlan_tci; | 2500 | skb->vlan_tci = re->skb->vlan_tci; |
2500 | 2501 | ||
2501 | pci_dma_sync_single_for_device(sky2->hw->pdev, re->data_addr, | 2502 | pci_dma_sync_single_for_device(sky2->hw->pdev, re->data_addr, |
2502 | length, PCI_DMA_FROMDEVICE); | 2503 | length, PCI_DMA_FROMDEVICE); |
2504 | re->skb->vlan_proto = 0; | ||
2503 | re->skb->vlan_tci = 0; | 2505 | re->skb->vlan_tci = 0; |
2504 | re->skb->rxhash = 0; | 2506 | re->skb->rxhash = 0; |
2505 | re->skb->ip_summed = CHECKSUM_NONE; | 2507 | re->skb->ip_summed = CHECKSUM_NONE; |