patch-2.1.86 linux/net/x25/x25_subr.c
Next file: linux/scripts/header.tk
Previous file: linux/net/x25/x25_out.c
Back to the patch index
Back to the overall index
- Lines: 34
- Date:
Tue Feb 10 13:07:49 1998
- Orig file:
v2.1.85/linux/net/x25/x25_subr.c
- Orig date:
Sun Nov 30 14:00:40 1997
diff -u --recursive --new-file v2.1.85/linux/net/x25/x25_subr.c linux/net/x25/x25_subr.c
@@ -48,19 +48,19 @@
struct sk_buff *skb;
while ((skb = skb_dequeue(&sk->write_queue)) != NULL)
- kfree_skb(skb, FREE_WRITE);
+ kfree_skb(skb);
while ((skb = skb_dequeue(&sk->protinfo.x25->ack_queue)) != NULL)
- kfree_skb(skb, FREE_WRITE);
+ kfree_skb(skb);
while ((skb = skb_dequeue(&sk->protinfo.x25->interrupt_in_queue)) != NULL)
- kfree_skb(skb, FREE_READ);
+ kfree_skb(skb);
while ((skb = skb_dequeue(&sk->protinfo.x25->interrupt_out_queue)) != NULL)
- kfree_skb(skb, FREE_WRITE);
+ kfree_skb(skb);
while ((skb = skb_dequeue(&sk->protinfo.x25->fragment_queue)) != NULL)
- kfree_skb(skb, FREE_READ);
+ kfree_skb(skb);
}
@@ -82,7 +82,7 @@
if (sk->protinfo.x25->va != nr) {
while (skb_peek(&sk->protinfo.x25->ack_queue) != NULL && sk->protinfo.x25->va != nr) {
skb = skb_dequeue(&sk->protinfo.x25->ack_queue);
- kfree_skb(skb, FREE_WRITE);
+ kfree_skb(skb);
sk->protinfo.x25->va = (sk->protinfo.x25->va + 1) % modulus;
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov