patch-2.1.44 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

diff -u --recursive --new-file v2.1.43/linux/net/lapb/lapb_subr.c linux/net/lapb/lapb_subr.c
@@ -1,8 +1,5 @@
 /*
- *	LAPB release 001
- *
- *	This is ALPHA test software. This code may break your machine, randomly fail to work with new 
- *	releases, misbehave and/or generally screw up. It might even work. 
+ *	LAPB release 002
  *
  *	This code REQUIRES 2.1.15 or higher/ NET3.038
  *
@@ -44,9 +41,6 @@
 void lapb_clear_queues(lapb_cb *lapb)
 {
 	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