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

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

diff -u --recursive --new-file v2.1.85/linux/drivers/net/tlan.c linux/drivers/net/tlan.c
@@ -663,7 +663,7 @@
 
 	if ( ! priv->phyOnline ) {
 		TLAN_DBG( TLAN_DEBUG_TX, "TLAN TRANSMIT:  %s PHY is not ready\n", dev->name );
-		dev_kfree_skb( skb, FREE_WRITE );
+		dev_kfree_skb( skb );
 		return 0;
 	}
 
@@ -710,7 +710,7 @@
 	if ( priv->txTail >= TLAN_NUM_TX_LISTS )
 		priv->txTail = 0;
 
-	dev_kfree_skb( skb, FREE_WRITE );
+	dev_kfree_skb( skb );
 		
 	dev->trans_start = jiffies;
 	return 0;

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