diff options
Diffstat (limited to 'drivers/net/vmxnet3')
-rw-r--r-- | drivers/net/vmxnet3/vmxnet3_drv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/vmxnet3/vmxnet3_drv.c b/drivers/net/vmxnet3/vmxnet3_drv.c index 7e2788c488ed..c0eab72cc79f 100644 --- a/drivers/net/vmxnet3/vmxnet3_drv.c +++ b/drivers/net/vmxnet3/vmxnet3_drv.c | |||
@@ -1235,7 +1235,8 @@ vmxnet3_rq_rx_complete(struct vmxnet3_rx_queue *rq, | |||
1235 | #ifdef VMXNET3_RSS | 1235 | #ifdef VMXNET3_RSS |
1236 | if (rcd->rssType != VMXNET3_RCD_RSS_TYPE_NONE && | 1236 | if (rcd->rssType != VMXNET3_RCD_RSS_TYPE_NONE && |
1237 | (adapter->netdev->features & NETIF_F_RXHASH)) | 1237 | (adapter->netdev->features & NETIF_F_RXHASH)) |
1238 | ctx->skb->rxhash = le32_to_cpu(rcd->rssHash); | 1238 | skb_set_hash(skb, le32_to_cpu(rcd->rssHash), |
1239 | PKT_HASH_TYPE_L3); | ||
1239 | #endif | 1240 | #endif |
1240 | skb_put(ctx->skb, rcd->len); | 1241 | skb_put(ctx->skb, rcd->len); |
1241 | 1242 | ||
@@ -3132,7 +3133,6 @@ err_alloc_queue_desc: | |||
3132 | err_alloc_shared: | 3133 | err_alloc_shared: |
3133 | dma_unmap_single(&adapter->pdev->dev, adapter->adapter_pa, | 3134 | dma_unmap_single(&adapter->pdev->dev, adapter->adapter_pa, |
3134 | sizeof(struct vmxnet3_adapter), PCI_DMA_TODEVICE); | 3135 | sizeof(struct vmxnet3_adapter), PCI_DMA_TODEVICE); |
3135 | pci_set_drvdata(pdev, NULL); | ||
3136 | free_netdev(netdev); | 3136 | free_netdev(netdev); |
3137 | return err; | 3137 | return err; |
3138 | } | 3138 | } |