patch-2.3.27 linux/drivers/isdn/hisax/isdnl1.c
Next file: linux/drivers/isdn/hisax/isdnl2.c
Previous file: linux/drivers/isdn/hisax/isar.h
Back to the patch index
Back to the overall index
- Lines: 33
- Date:
Sun Nov 7 16:34:00 1999
- Orig file:
v2.3.26/linux/drivers/isdn/hisax/isdnl1.c
- Orig date:
Thu Aug 26 13:05:35 1999
diff -u --recursive --new-file v2.3.26/linux/drivers/isdn/hisax/isdnl1.c linux/drivers/isdn/hisax/isdnl1.c
@@ -318,12 +318,12 @@
stptr = cs->stlist;
if (skb->len<3) {
debugl1(cs, "D-channel frame too short(%d)",skb->len);
- idev_kfree_skb(skb, FREE_READ);
+ dev_kfree_skb(skb);
return;
}
if ((skb->data[0] & 1) || !(skb->data[1] &1)) {
debugl1(cs, "D-channel frame wrong EA0/EA1");
- idev_kfree_skb(skb, FREE_READ);
+ dev_kfree_skb(skb);
return;
}
sapi = skb->data[0] >> 2;
@@ -350,7 +350,7 @@
stptr = stptr->next;
}
}
- idev_kfree_skb(skb, FREE_READ);
+ dev_kfree_skb(skb);
} else if (sapi == CTRL_SAPI) { /* sapi 0 */
found = 0;
while (stptr != NULL)
@@ -361,7 +361,7 @@
} else
stptr = stptr->next;
if (!found)
- idev_kfree_skb(skb, FREE_READ);
+ dev_kfree_skb(skb);
}
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)