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

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