patch-2.1.86 linux/net/rose/rose_link.c

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

diff -u --recursive --new-file v2.1.85/linux/net/rose/rose_link.c linux/net/rose/rose_link.c
@@ -169,7 +169,7 @@
 	if (neigh->restarted) {
 		while ((skbn = skb_dequeue(&neigh->queue)) != NULL)
 			if (!rose_send_frame(skbn, neigh))
-				kfree_skb(skbn, FREE_WRITE);
+				kfree_skb(skbn);
 	}
 }
 
@@ -199,7 +199,7 @@
 	*dptr++ = 0;
 
 	if (!rose_send_frame(skb, neigh))
-		kfree_skb(skb, FREE_WRITE);
+		kfree_skb(skb);
 }
 
 /*
@@ -226,7 +226,7 @@
 	*dptr++ = ROSE_RESTART_CONFIRMATION;
 
 	if (!rose_send_frame(skb, neigh))
-		kfree_skb(skb, FREE_WRITE);
+		kfree_skb(skb);
 }
 
 /*
@@ -254,7 +254,7 @@
 	*dptr++ = diag;
 
 	if (!rose_send_frame(skb, neigh))
-		kfree_skb(skb, FREE_WRITE);
+		kfree_skb(skb);
 }
 
 /*
@@ -284,7 +284,7 @@
 	*dptr++ = diagnostic;
 
 	if (!rose_send_frame(skb, neigh))
-		kfree_skb(skb, FREE_WRITE);
+		kfree_skb(skb);
 }
 
 void rose_transmit_link(struct sk_buff *skb, struct rose_neigh *neigh)
@@ -292,7 +292,7 @@
 	unsigned char *dptr;
 
 	if (call_fw_firewall(PF_ROSE, skb->dev, skb->data, NULL, &skb) != FW_ACCEPT) {
-		kfree_skb(skb, FREE_WRITE);
+		kfree_skb(skb);
 		return;
 	}
 
@@ -304,7 +304,7 @@
 
 	if (neigh->restarted) {
 		if (!rose_send_frame(skb, neigh))
-			kfree_skb(skb, FREE_WRITE);
+			kfree_skb(skb);
 	} else {
 		skb_queue_tail(&neigh->queue, skb);
 

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