Message ID | 20090401151851.GA19496@redhat.com |
---|---|
State | Changes Requested, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/drivers/net/8139cp.c b/drivers/net/8139cp.c index a09e3a7..a4b4491 100644 --- a/drivers/net/8139cp.c +++ b/drivers/net/8139cp.c @@ -1065,7 +1065,8 @@ static int cp_refill_rx(struct cp_private *cp) skb_reserve(skb, NET_IP_ALIGN); mapping = dma_map_single(&cp->pdev->dev, skb->data, - cp->rx_buf_sz, PCI_DMA_FROMDEVICE); + cp->rx_buf_sz + NET_IP_ALIGN, + PCI_DMA_FROMDEVICE); cp->rx_skb[i] = skb; cp->rx_ring[i].opts2 = 0;