patch-2.1.86 linux/drivers/isdn/avmb1/b1capi.c

Next file: linux/drivers/isdn/avmb1/b1lli.c
Previous file: linux/drivers/char/vc_screen.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.85/linux/drivers/isdn/avmb1/b1capi.c linux/drivers/isdn/avmb1/b1capi.c
@@ -300,13 +300,13 @@
 		if (!VALID_APPLID(appl)) {
 			printk(KERN_ERR "b1capi: recv_handler: applid %d ? (%s)\n",
 			       appl, capi_message2str(skb->data));
-			kfree_skb(skb, FREE_READ);
+			kfree_skb(skb);
 			continue;
 		}
 		if (APPL(appl)->signal == 0) {
 			printk(KERN_ERR "b1capi: recv_handler: applid %d has no signal function\n",
 			       appl);
-			kfree_skb(skb, FREE_READ);
+			kfree_skb(skb);
 			continue;
 		}
 		if (   CAPIMSG_COMMAND(skb->data) == CAPI_DATA_B3
@@ -336,7 +336,7 @@
 	return;
 
       error:
-	kfree_skb(skb, FREE_READ);
+	kfree_skb(skb);
 }
 
 void avmb1_interrupt(int interrupt, void *devptr, struct pt_regs *regs)
@@ -537,7 +537,7 @@
 	if (!VALID_APPLID(applid) || APPL(applid)->releasing)
 		return CAPI_ILLAPPNR;
 	while ((skb = skb_dequeue(&APPL(applid)->recv_queue)) != 0)
-		kfree_skb(skb, FREE_READ);
+		kfree_skb(skb);
 	for (i = 0; i < ncards; i++) {
 		if (cards[i].cardstate != CARD_RUNNING)
 			continue;

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