patch-2.1.15 linux/net/rose/rose_subr.c

Next file: linux/net/socket.c
Previous file: linux/net/rose/rose_out.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.14/linux/net/rose/rose_subr.c linux/net/rose/rose_subr.c
@@ -49,13 +49,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.rose->ack_queue)) != NULL) {
 		skb->sk   = sk;
-		skb->free = 1;
 		kfree_skb(skb, FREE_WRITE);
 	}
 
@@ -80,7 +78,6 @@
 		while (skb_peek(&sk->protinfo.rose->ack_queue) != NULL && sk->protinfo.rose->va != nr) {
 		        skb = skb_dequeue(&sk->protinfo.rose->ack_queue);
 		        skb->sk   = sk;
-			skb->free = 1;
 			kfree_skb(skb, FREE_WRITE);
 			sk->protinfo.rose->va = (sk->protinfo.rose->va + 1) % ROSE_MODULUS;
 		}

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