aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qlcnic/qlcnic_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/qlcnic/qlcnic_init.c')
-rw-r--r--drivers/net/qlcnic/qlcnic_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/qlcnic/qlcnic_init.c b/drivers/net/qlcnic/qlcnic_init.c
index 16dd9ebd36c9..5c33d15c874a 100644
--- a/drivers/net/qlcnic/qlcnic_init.c
+++ b/drivers/net/qlcnic/qlcnic_init.c
@@ -1303,7 +1303,7 @@ qlcnic_alloc_rx_skb(struct qlcnic_adapter *adapter,
1303 return -ENOMEM; 1303 return -ENOMEM;
1304 } 1304 }
1305 1305
1306 skb_reserve(skb, 2); 1306 skb_reserve(skb, NET_IP_ALIGN);
1307 1307
1308 dma = pci_map_single(pdev, skb->data, 1308 dma = pci_map_single(pdev, skb->data,
1309 rds_ring->dma_size, PCI_DMA_FROMDEVICE); 1309 rds_ring->dma_size, PCI_DMA_FROMDEVICE);