Merge r13230 to 8.09
authorFlorian Fainelli <florian@openwrt.org>
Sun, 16 Nov 2008 22:10:04 +0000 (22:10 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 16 Nov 2008 22:10:04 +0000 (22:10 +0000)
SVN-Revision: 13243

target/linux/rdc/files/drivers/net/r6040.c

index 237b7fa..3862d8e 100644 (file)
@@ -362,7 +362,7 @@ void r6040_free_txbufs(struct net_device *dev)
                                le32_to_cpu(lp->tx_insert_ptr->buf),
                                MAX_BUF_SIZE, PCI_DMA_TODEVICE);
                        dev_kfree_skb(lp->tx_insert_ptr->skb_ptr);
-                       lp->rx_insert_ptr->skb_ptr = NULL;
+                       lp->tx_insert_ptr->skb_ptr = NULL;
                }
                lp->tx_insert_ptr = lp->tx_insert_ptr->vndescp;
        }