patch-2.1.86 linux/drivers/isdn/icn/icn.c

Next file: linux/drivers/isdn/isdn_audio.c
Previous file: linux/drivers/isdn/hisax/teles3.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.85/linux/drivers/isdn/icn/icn.c linux/drivers/isdn/icn/icn.c
@@ -207,7 +207,7 @@
 	struct sk_buff *skb;
 
 	while ((skb = skb_dequeue(queue)))
-		dev_kfree_skb(skb, FREE_WRITE);
+		dev_kfree_skb(skb);
 	card->sndcount[channel] = 0;
 }
 
@@ -471,7 +471,7 @@
 			sbnext; /* switch to next buffer        */
 			icn_maprelease_channel(card, mch & 2);
 			if (!skb->len) {
-				dev_kfree_skb(skb, FREE_WRITE);
+				dev_kfree_skb(skb);
 				cmd.command = ISDN_STAT_BSENT;
 				cmd.driver = card->myid;
 				cmd.arg = channel;
@@ -828,7 +828,7 @@
 		nskb = skb_clone(skb, GFP_ATOMIC);
 		if (nskb) {
 			skb_queue_tail(&card->spqueue[channel], nskb);
-			dev_kfree_skb(skb, FREE_WRITE);
+			dev_kfree_skb(skb);
 		} else
 			len = 0;
 		card->sndcount[channel] += len;

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