patch-2.4.23 linux-2.4.23/drivers/net/natsemi.c

Next file: linux-2.4.23/drivers/net/ne2k-pci.c
Previous file: linux-2.4.23/drivers/net/mv64340_eth.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/drivers/net/natsemi.c linux-2.4.23/drivers/net/natsemi.c
@@ -1528,7 +1528,7 @@
 	for (i = 0; i < TX_RING_SIZE; i++) {
 		if (np->tx_skbuff[i]) {
 			pci_unmap_single(np->pci_dev,
-				np->rx_dma[i], np->rx_skbuff[i]->len,
+				np->tx_dma[i], np->tx_skbuff[i]->len,
 				PCI_DMA_TODEVICE);
 			dev_kfree_skb(np->tx_skbuff[i]);
 			np->stats.tx_dropped++;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)