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

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

diff -u --recursive --new-file v2.1.85/linux/net/rose/rose_dev.c linux/net/rose/rose_dev.c
@@ -104,23 +104,23 @@
 	if (arp_find(bp + 7, skb)) {
 #if 0
 		/* BUGGGG! If arp_find returned 1, skb does not exist. --ANK*/
-		kfree_skb(skb, FREE_WRITE);
+		kfree_skb(skb);
 #endif
 		return 1;
 	}
 
 	if ((skbn = skb_clone(skb, GFP_ATOMIC)) == NULL) {
-		kfree_skb(skb, FREE_WRITE);
+		kfree_skb(skb);
 		return 1;
 	}
 
 	if (skb->sk != NULL)
 		skb_set_owner_w(skbn, skb->sk);
 
-	kfree_skb(skb, FREE_WRITE);
+	kfree_skb(skb);
 
 	if (!rose_route_frame(skbn, NULL)) {
-		kfree_skb(skbn, FREE_WRITE);
+		kfree_skb(skbn);
 		stats->tx_errors++;
 	}
 
@@ -191,7 +191,7 @@
 
 	sti();
 
-	kfree_skb(skb, FREE_WRITE);
+	kfree_skb(skb);
 
 	stats->tx_errors++;
 

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