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

Next file: linux/net/ipv6/icmp.c
Previous file: linux/net/ipv4/udp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.85/linux/net/ipv6/exthdrs.c linux/net/ipv6/exthdrs.c
@@ -77,7 +77,7 @@
 			pos += 1;
 
 		icmpv6_send(skb, ICMPV6_PARAMETER_PROB, 0, pos, dev);
-		kfree_skb(skb, FREE_READ);
+		kfree_skb(skb);
 		return 0;	
 	}
 
@@ -94,7 +94,7 @@
 		pos += 3;
 
 		icmpv6_send(skb, ICMPV6_PARAMETER_PROB, 0, pos, dev);
-		kfree_skb(skb, FREE_READ);
+		kfree_skb(skb);
 		return 0;
 	}
 
@@ -107,7 +107,7 @@
 	addr_type = ipv6_addr_type(addr);
 
 	if (addr_type == IPV6_ADDR_MULTICAST) {
-		kfree_skb(skb, FREE_READ);
+		kfree_skb(skb);
 		return 0;
 	}
 

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