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

Next file: linux/drivers/net/arc-rimi.c
Previous file: linux/drivers/net/a2065.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.85/linux/drivers/net/apricot.c linux/drivers/net/apricot.c
@@ -407,7 +407,7 @@
 		struct tx_cmd *tx_cmd = (struct tx_cmd *) ptr;
 		struct sk_buff *skb = ((struct sk_buff *)(tx_cmd->tbd->data)) -1;
 
-		dev_kfree_skb(skb, FREE_WRITE);
+		dev_kfree_skb(skb);
 
 		lp->stats.tx_errors++;
 		lp->stats.tx_aborted_errors++;
@@ -615,7 +615,7 @@
 	    printk ("%s: i596_xmit Memory squeeze, dropping packet.\n", dev->name);
 	    lp->stats.tx_dropped++;
 
-	    dev_kfree_skb(skb, FREE_WRITE);
+	    dev_kfree_skb(skb);
 	}
 	else
 	{
@@ -790,7 +790,7 @@
 		    struct tx_cmd *tx_cmd = (struct tx_cmd *) ptr;
 		    struct sk_buff *skb = ((struct sk_buff *)(tx_cmd->tbd->data)) -1;
 
-		    dev_kfree_skb(skb, FREE_WRITE);
+		    dev_kfree_skb(skb);
 
 		    if ((ptr->status) & STAT_OK)
 		    {

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