patch-2.1.86 linux/drivers/net/sunqe.c

Next file: linux/drivers/net/tlan.c
Previous file: linux/drivers/net/sunlance.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.85/linux/drivers/net/sunqe.c linux/drivers/net/sunqe.c
@@ -116,14 +116,14 @@
 
 	for(i = 0; i < RX_RING_SIZE; i++) {
 		if(qep->rx_skbs[i] != NULL) {
-			dev_kfree_skb(qep->rx_skbs[i], FREE_READ);
+			dev_kfree_skb(qep->rx_skbs[i]);
 			qep->rx_skbs[i] = NULL;
 		}
 	}
 
 	for(i = 0; i < TX_RING_SIZE; i++) {
 		if(qep->tx_skbs[i] != NULL) {
-			dev_kfree_skb(qep->tx_skbs[i], FREE_WRITE);
+			dev_kfree_skb(qep->tx_skbs[i]);
 			qep->tx_skbs[i] = NULL;
 		}
 	}
@@ -451,7 +451,7 @@
 		mmu_sync_dma(((u32)((unsigned long)skb->data)),
 			     skb->len, qep->qe_sbusdev->my_bus);
 #endif
-		dev_kfree_skb(skb, FREE_WRITE);
+		dev_kfree_skb(skb);
 
 		qep->net_stats.tx_packets++;
 		elem = NEXT_TX(elem);
@@ -804,7 +804,7 @@
 
 	qep->net_stats.tx_bytes+=skb->len;
 	
-	dev_kfree_skb(skb, FREE_WRITE);
+	dev_kfree_skb(skb);
 
 	if(SUN4C_TX_BUFFS_AVAIL(qep))
 		dev->tbusy = 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov