patch-2.1.15 linux/net/netrom/nr_subr.c
Next file: linux/net/netsyms.c
Previous file: linux/net/netrom/nr_out.c
Back to the patch index
Back to the overall index
- Lines: 39
- Date:
Thu Dec 12 16:54:26 1996
- Orig file:
v2.1.14/linux/net/netrom/nr_subr.c
- Orig date:
Tue Nov 12 15:56:16 1996
diff -u --recursive --new-file v2.1.14/linux/net/netrom/nr_subr.c linux/net/netrom/nr_subr.c
@@ -50,13 +50,11 @@
while ((skb = skb_dequeue(&sk->write_queue)) != NULL) {
skb->sk = sk;
- skb->free = 1;
kfree_skb(skb, FREE_WRITE);
}
while ((skb = skb_dequeue(&sk->protinfo.nr->ack_queue)) != NULL) {
skb->sk = sk;
- skb->free = 1;
kfree_skb(skb, FREE_WRITE);
}
@@ -85,7 +83,6 @@
while (skb_peek(&sk->protinfo.nr->ack_queue) != NULL && sk->protinfo.nr->va != nr) {
skb = skb_dequeue(&sk->protinfo.nr->ack_queue);
skb->sk = sk;
- skb->free = 1;
kfree_skb(skb, FREE_WRITE);
sk->protinfo.nr->va = (sk->protinfo.nr->va + 1) % NR_MODULUS;
}
@@ -234,8 +231,6 @@
break;
}
- skb->free = 1;
-
nr_transmit_buffer(sk, skb);
}
@@ -279,7 +274,6 @@
*dptr++ = NR_CONNACK | NR_CHOKE_FLAG;
*dptr++ = 0;
- skbn->free = 1;
skbn->sk = NULL;
if (!nr_route_frame(skbn, NULL))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov