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

Next file: linux/drivers/isdn/pcbit/drv.c
Previous file: linux/drivers/isdn/isdn_ppp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.85/linux/drivers/isdn/isdn_tty.c linux/drivers/isdn/isdn_tty.c
@@ -276,7 +276,7 @@
 						tty->flip.flag_buf_ptr[len - 1] = 0xff;
 					queue_task(&tty->flip.tqueue, &tq_timer);
 					SET_SKB_FREE(skb);
-					kfree_skb(skb, FREE_READ);
+					kfree_skb(skb);
 					return 1;
 				}
 			}
@@ -372,7 +372,7 @@
 		) {
 		/* If Modem not listening, drop data */
 		SET_SKB_FREE(skb);
-		kfree_skb(skb, FREE_READ);
+		kfree_skb(skb);
 		return 1;
 	}
 	if (info->emu.mdmreg[13] & 2)
@@ -384,7 +384,7 @@
 		printk(KERN_WARNING
 		       "isdn_audio: insufficient skb_headroom, dropping\n");
 		SET_SKB_FREE(skb);
-		kfree_skb(skb, FREE_READ);
+		kfree_skb(skb);
 		return 1;
 	}
 	ISDN_AUDIO_SKB_DLECOUNT(skb) = 0;
@@ -456,13 +456,13 @@
 	if (skb_queue_len(&info->xmit_queue))
 		while ((skb = skb_dequeue(&info->xmit_queue))) {
 			SET_SKB_FREE(skb);
-			kfree_skb(skb, FREE_WRITE);
+			kfree_skb(skb);
 		}
 #ifdef CONFIG_ISDN_AUDIO
 	if (skb_queue_len(&info->dtmf_queue))
 		while ((skb = skb_dequeue(&info->dtmf_queue))) {
 			SET_SKB_FREE(skb);
-			kfree_skb(skb, FREE_WRITE);
+			kfree_skb(skb);
 		}
 #endif
 	restore_flags(flags);
@@ -493,7 +493,7 @@
 	if (slen < 0) {
 		/* Error: no channel, already shutdown, or wrong parameter */
 		SET_SKB_FREE(skb);
-		dev_kfree_skb(skb, FREE_WRITE);
+		dev_kfree_skb(skb);
 		return;
 	}
 	if (slen)

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