patch-2.1.86 linux/net/netrom/nr_out.c

Next file: linux/net/netrom/nr_subr.c
Previous file: linux/net/netrom/nr_in.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.85/linux/net/netrom/nr_out.c linux/net/netrom/nr_out.c
@@ -79,7 +79,7 @@
 			skb_queue_tail(&sk->write_queue, skbn); /* Throw it on the queue */
 		}
 
-		kfree_skb(skb, FREE_WRITE);
+		kfree_skb(skb);
 	} else {
 		skb_queue_tail(&sk->write_queue, skb);		/* Throw it on the queue */
 	}
@@ -216,7 +216,7 @@
 	*dptr++ = sysctl_netrom_network_ttl_initialiser;
 
 	if (!nr_route_frame(skb, NULL)) {
-		kfree_skb(skb, FREE_WRITE);
+		kfree_skb(skb);
 		nr_disconnect(sk, ENETUNREACH);
 	}
 }

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