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

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

diff -u --recursive --new-file v2.1.85/linux/drivers/net/smc9194.c linux/drivers/net/smc9194.c
@@ -573,7 +573,7 @@
 		printk(CARDNAME": Far too big packet error. \n");
 		/* freeing the packet is a good thing here... but should
 		 . any packets of this size get down here?   */
-		dev_kfree_skb (skb, FREE_WRITE);
+		dev_kfree_skb (skb);
 		lp->saved_skb = NULL;
 		/* this IS an error, but, i don't want the skb saved */
 		return 0;
@@ -725,7 +725,7 @@
 	PRINTK2((CARDNAME": Sent packet of length %d \n",length));
 
 	lp->saved_skb = NULL;
-	dev_kfree_skb (skb, FREE_WRITE);
+	dev_kfree_skb (skb);
 
 	dev->trans_start = jiffies;
 
@@ -1246,7 +1246,7 @@
 	   done with atomic_swap(1, dev->tbusy), but set_bit() works as well. */
 	if (test_and_set_bit(0, (void*)&dev->tbusy) != 0) {
 		printk(KERN_WARNING CARDNAME": Transmitter access conflict.\n");
-		dev_kfree_skb (skb, FREE_WRITE);
+		dev_kfree_skb (skb);
 	} else {
 		/* Well, I want to send the packet.. but I don't know
 		   if I can send it right now...  */

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