patch-2.2.13 linux/drivers/isdn/hisax/l3_1tr6.c
Next file: linux/drivers/isdn/hisax/l3dss1.c
Previous file: linux/drivers/isdn/hisax/jade_irq.c
Back to the patch index
Back to the overall index
- Lines: 191
- Date:
Tue Oct 19 17:14:00 1999
- Orig file:
v2.2.12/linux/drivers/isdn/hisax/l3_1tr6.c
- Orig date:
Mon Aug 9 16:05:56 1999
diff -u --recursive --new-file v2.2.12/linux/drivers/isdn/hisax/l3_1tr6.c linux/drivers/isdn/hisax/l3_1tr6.c
@@ -94,14 +94,14 @@
{
struct sk_buff *skb = arg;
- idev_kfree_skb(skb, FREE_READ);
+ dev_kfree_skb(skb);
l3_1tr6_release_req(pc, 0, NULL);
}
static void
l3_1tr6_error(struct l3_process *pc, u_char *msg, struct sk_buff *skb)
{
- idev_kfree_skb(skb, FREE_READ);
+ dev_kfree_skb(skb);
if (pc->st->l3.debug & L3_DEB_WARN)
l3_debug(pc->st, msg);
l3_1tr6_release_req(pc, 0, NULL);
@@ -251,7 +251,7 @@
if ((FAC_SPV == p[3]) || (FAC_Activate == p[3]))
pc->para.spv = 1;
}
- idev_kfree_skb(skb, FREE_READ);
+ dev_kfree_skb(skb);
/* Signal all services, linklevel takes care of Service-Indicator */
if (bcfound) {
@@ -290,7 +290,7 @@
l3_1tr6_error(pc, "missing setup_ack WE0_chanID", skb);
return;
}
- idev_kfree_skb(skb, FREE_READ);
+ dev_kfree_skb(skb);
L3AddTimer(&pc->timer, T304, CC_T304);
pc->st->l3.l3l4(pc->st, CC_MORE_INFO | INDICATION, pc);
}
@@ -321,7 +321,7 @@
l3_1tr6_error(pc, "missing call sent WE0_chanID", skb);
return;
}
- idev_kfree_skb(skb, FREE_READ);
+ dev_kfree_skb(skb);
L3AddTimer(&pc->timer, T310, CC_T310);
newl3state(pc, 3);
pc->st->l3.l3l4(pc->st, CC_PROCEEDING | INDICATION, pc);
@@ -332,7 +332,7 @@
{
struct sk_buff *skb = arg;
- idev_kfree_skb(skb, FREE_READ);
+ dev_kfree_skb(skb);
L3DelTimer(&pc->timer); /* T304 */
newl3state(pc, 4);
pc->st->l3.l3l4(pc->st, CC_ALERTING | INDICATION, pc);
@@ -363,7 +363,7 @@
}
} else if (pc->st->l3.debug & L3_DEB_CHARGE)
l3_debug(pc->st, "charging info not found");
- idev_kfree_skb(skb, FREE_READ);
+ dev_kfree_skb(skb);
}
@@ -372,7 +372,7 @@
{
struct sk_buff *skb = arg;
- idev_kfree_skb(skb, FREE_READ);
+ dev_kfree_skb(skb);
}
static void
@@ -386,7 +386,7 @@
return;
}
newl3state(pc, 10);
- idev_kfree_skb(skb, FREE_READ);
+ dev_kfree_skb(skb);
pc->para.chargeinfo = 0;
pc->st->l3.l3l4(pc->st, CC_SETUP | CONFIRM, pc);
}
@@ -414,7 +414,7 @@
l3_1tr6_error(pc, "missing REL cause", skb);
return;
}
- idev_kfree_skb(skb, FREE_READ);
+ dev_kfree_skb(skb);
StopAllL3Timer(pc);
newl3state(pc, 0);
l3_1TR6_message(pc, MT_N1_REL_ACK, PROTO_DIS_N1);
@@ -427,7 +427,7 @@
{
struct sk_buff *skb = arg;
- idev_kfree_skb(skb, FREE_READ);
+ dev_kfree_skb(skb);
StopAllL3Timer(pc);
newl3state(pc, 0);
pc->para.cause = NO_CAUSE;
@@ -484,7 +484,7 @@
l3_1tr6_error(pc, "missing connack date", skb);
return;
}
- idev_kfree_skb(skb, FREE_READ);
+ dev_kfree_skb(skb);
newl3state(pc, 12);
pc->st->l3.l3l4(pc->st, CC_DISCONNECT | INDICATION, pc);
}
@@ -499,7 +499,7 @@
l3_1tr6_error(pc, "missing connack date", skb);
return;
}
- idev_kfree_skb(skb, FREE_READ);
+ dev_kfree_skb(skb);
newl3state(pc, 10);
pc->para.chargeinfo = 0;
L3DelTimer(&pc->timer);
@@ -814,7 +814,7 @@
sprintf(tmp, "up1tr6 len only %d", skb->len);
l3_debug(st, tmp);
}
- idev_kfree_skb(skb, FREE_READ);
+ dev_kfree_skb(skb);
return;
}
if ((skb->data[0] & 0xfe) != PROTO_DIS_N0) {
@@ -824,7 +824,7 @@
skb->data[0], skb->len);
l3_debug(st, tmp);
}
- idev_kfree_skb(skb, FREE_READ);
+ dev_kfree_skb(skb);
return;
}
if (skb->data[1] != 1) {
@@ -832,13 +832,13 @@
sprintf(tmp, "up1tr6 CR len not 1");
l3_debug(st, tmp);
}
- idev_kfree_skb(skb, FREE_READ);
+ dev_kfree_skb(skb);
return;
}
cr = skb->data[2];
mt = skb->data[3];
if (skb->data[0] == PROTO_DIS_N0) {
- idev_kfree_skb(skb, FREE_READ);
+ dev_kfree_skb(skb);
if (st->l3.debug & L3_DEB_STATE) {
sprintf(tmp, "up1tr6%s N0 mt %x unhandled",
(pr == (DL_DATA | INDICATION)) ? " " : "(broadcast) ", mt);
@@ -853,11 +853,11 @@
sprintf(tmp, "up1tr6 no roc mem");
l3_debug(st, tmp);
}
- idev_kfree_skb(skb, FREE_READ);
+ dev_kfree_skb(skb);
return;
}
} else {
- idev_kfree_skb(skb, FREE_READ);
+ dev_kfree_skb(skb);
return;
}
} else if ((mt == MT_N1_REL) || (mt == MT_N1_REL_ACK) ||
@@ -865,7 +865,7 @@
(mt == MT_N1_REG_ACK) || (mt == MT_N1_REG_REJ) ||
(mt == MT_N1_SUSP_ACK) || (mt == MT_N1_RES_REJ) ||
(mt == MT_N1_INFO)) {
- idev_kfree_skb(skb, FREE_READ);
+ dev_kfree_skb(skb);
return;
} else {
if (!(proc = new_l3_process(st, cr))) {
@@ -873,7 +873,7 @@
sprintf(tmp, "up1tr6 no roc mem");
l3_debug(st, tmp);
}
- idev_kfree_skb(skb, FREE_READ);
+ dev_kfree_skb(skb);
return;
}
mt = MT_N1_INVALID;
@@ -884,7 +884,7 @@
((1 << proc->state) & datastln1[i].state))
break;
if (i == DATASTLN1_LEN) {
- idev_kfree_skb(skb, FREE_READ);
+ dev_kfree_skb(skb);
if (st->l3.debug & L3_DEB_STATE) {
sprintf(tmp, "up1tr6%sstate %d mt %x unhandled",
(pr == (DL_DATA | INDICATION)) ? " " : "(broadcast) ",
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)