linux-mips
[Top] [All Lists]

Re: BUG in the PCNET32 ethernet driver

To: Carsten Langgaard <carstenl@mips.com>
Subject: Re: BUG in the PCNET32 ethernet driver
From: Jeff Garzik <jgarzik@pobox.com>
Date: Wed, 13 Nov 2002 11:42:35 -0500
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org, tsbogend@alpha.franken.de, linux-net@vger.kernel.org, kevink@mips.com
In-reply-to: <3DD254F8.14DE20EA@mips.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <3DD254F8.14DE20EA@mips.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021018
Carsten Langgaard wrote:

@@ -1316,13 +1316,13 @@
                    if ((newskb = dev_alloc_skb (PKT_BUF_SZ))) {
                        skb_reserve (newskb, 2);
                        skb = lp->rx_skbuff[entry];
- pci_unmap_single(lp->pci_dev, lp->rx_dma_addr[entry], skb->len, PCI_DMA_FROMDEVICE); + pci_unmap_single(lp->pci_dev, lp->rx_dma_addr[entry], pkt_len +2, PCI_DMA_FROMDEVICE);
                        skb_put (skb, pkt_len);
                        lp->rx_skbuff[entry] = newskb;


Why does this line not reference PKT_BUF_SZ when all the others do?


<Prev in Thread] Current Thread [Next in Thread>