patch-2.1.86 linux/drivers/isdn/avmb1/capidrv.c
Next file: linux/drivers/isdn/hisax/avm_a1.c
Previous file: linux/drivers/isdn/avmb1/capi.c
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
Tue Feb 10 13:07:50 1998
- Orig file:
v2.1.85/linux/drivers/isdn/avmb1/capidrv.c
- Orig date:
Thu May 29 21:53:05 1997
diff -u --recursive --new-file v2.1.85/linux/drivers/isdn/avmb1/capidrv.c linux/drivers/isdn/avmb1/capidrv.c
@@ -1169,7 +1169,7 @@
printk(KERN_ERR "capidrv: %s: ncci 0x%x not found\n",
capi_cmd2str(cmsg->Command, cmsg->Subcommand),
cmsg->adr.adrNCCI);
- kfree_skb(skb, FREE_READ);
+ kfree_skb(skb);
return;
}
(void) skb_pull(skb, CAPIMSG_LEN(skb->data));
@@ -1194,7 +1194,7 @@
handle_data(&s_cmsg, skb);
continue;
}
- kfree_skb(skb, FREE_READ);
+ kfree_skb(skb);
if ((s_cmsg.adr.adrController & 0xffffff00) == 0)
handle_controller(&s_cmsg);
else if ((s_cmsg.adr.adrPLCI & 0xffff0000) == 0)
@@ -1517,10 +1517,10 @@
errcode = (*capifuncs->capi_put_message) (global.appid, nskb);
switch (errcode) {
case CAPI_NOERROR:
- dev_kfree_skb(skb, FREE_WRITE);
+ dev_kfree_skb(skb);
return len;
case CAPI_SENDQUEUEFULL:
- dev_kfree_skb(nskb, FREE_WRITE);
+ dev_kfree_skb(nskb);
return 0;
default:
return -1;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov