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

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

diff -u --recursive --new-file v2.1.85/linux/net/ipv6/reassembly.c linux/net/ipv6/reassembly.c
@@ -112,7 +112,7 @@
 	struct ipv6_frag *fp, *back;
 
 	for(fp = fq->fragments; fp; ) {
-		kfree_skb(fp->skb, FREE_READ);		
+		kfree_skb(fp->skb);		
 		back = fp;
 		fp=fp->next;
 		kfree(back);
@@ -159,7 +159,7 @@
 					   GFP_ATOMIC);
 
 	if (fq == NULL) {
-		kfree_skb(skb, FREE_READ);
+		kfree_skb(skb);
 		return;
 	}
 
@@ -201,7 +201,7 @@
 					   GFP_ATOMIC);
 
 	if (nfp == NULL) {
-		kfree_skb(skb, FREE_READ);
+		kfree_skb(skb);
 		return;
 	}
 
@@ -230,7 +230,7 @@
 		}
 
 		/* duplicate. discard it. */
-		kfree_skb(skb, FREE_READ);
+		kfree_skb(skb);
 		kfree(nfp);
 		return;
 	}
@@ -308,7 +308,7 @@
 		struct ipv6_frag *back;
 
 		memcpy(skb_put(skb, fp->len), (__u8*)(fp->fhdr + 1), fp->len);
-		kfree_skb(fp->skb, FREE_READ);
+		kfree_skb(fp->skb);
 		back = fp;
 		fp=fp->next;
 		kfree(back);

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