patch-2.1.26 linux/net/lapb/lapb_subr.c
Next file: linux/net/lapb/lapb_timer.c
Previous file: linux/net/lapb/lapb_out.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Tue Feb 4 16:44:26 1997
- Orig file:
v2.1.25/linux/net/lapb/lapb_subr.c
- Orig date:
Thu Jan 23 21:06:58 1997
diff -u --recursive --new-file v2.1.25/linux/net/lapb/lapb_subr.c linux/net/lapb/lapb_subr.c
@@ -45,6 +45,9 @@
{
struct sk_buff *skb;
+ while ((skb = skb_dequeue(&lapb->input_queue)) != NULL)
+ kfree_skb(skb, FREE_READ);
+
while ((skb = skb_dequeue(&lapb->write_queue)) != NULL)
kfree_skb(skb, FREE_WRITE);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov