patch-2.1.86 linux/net/lapb/lapb_subr.c

Next file: linux/net/netbeui/af_netbeui.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.85/linux/net/lapb/lapb_subr.c linux/net/lapb/lapb_subr.c
@@ -43,10 +43,10 @@
 	struct sk_buff *skb;
 
 	while ((skb = skb_dequeue(&lapb->write_queue)) != NULL)
-		kfree_skb(skb, FREE_WRITE);
+		kfree_skb(skb);
 
 	while ((skb = skb_dequeue(&lapb->ack_queue)) != NULL)
-		kfree_skb(skb, FREE_WRITE);
+		kfree_skb(skb);
 }
 
 /*
@@ -67,7 +67,7 @@
 	if (lapb->va != nr) {
 		while (skb_peek(&lapb->ack_queue) != NULL && lapb->va != nr) {
 		        skb = skb_dequeue(&lapb->ack_queue);
-			kfree_skb(skb, FREE_WRITE);
+			kfree_skb(skb);
 			lapb->va = (lapb->va + 1) % modulus;
 		}
 	}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov