patch-2.1.86 linux/net/ipv6/route.c

Next file: linux/net/ipv6/sit.c
Previous file: linux/net/ipv6/reassembly.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.85/linux/net/ipv6/route.c linux/net/ipv6/route.c
@@ -910,7 +910,7 @@
 
 out:
 	rtnl_unlock();
-	kfree_skb(skb, FREE_READ);	
+	kfree_skb(skb);	
 	return count;
 }
 
@@ -926,7 +926,7 @@
 	       sizeof(struct in6_rtmsg));
 	
 	if (netlink_post(NETLINK_ROUTE6, skb))
-		kfree_skb(skb, FREE_WRITE);
+		kfree_skb(skb);
 }
 
 void rt6_sndmsg(int type, struct in6_addr *dst, struct in6_addr *src,
@@ -966,7 +966,7 @@
 	msg->rtmsg_flags = flags;
 
 	if (netlink_post(NETLINK_ROUTE6, skb))
-		kfree_skb(skb, FREE_WRITE);
+		kfree_skb(skb);
 }
 #endif /* CONFIG_IPV6_NETLINK */
 
@@ -1336,7 +1336,7 @@
 int ip6_pkt_discard(struct sk_buff *skb)
 {	
 	ipv6_statistics.Ip6OutNoRoutes++;
-	kfree_skb(skb, FREE_WRITE);
+	kfree_skb(skb);
 	return 0;
 }
 

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