patch-2.1.86 linux/drivers/net/loopback.c

Next file: linux/drivers/net/ltpc.c
Previous file: linux/drivers/net/lapbether.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.85/linux/drivers/net/loopback.c linux/drivers/net/loopback.c
@@ -79,10 +79,10 @@
 	  	struct sk_buff *skb2=skb;
 	  	skb=skb_clone(skb, GFP_ATOMIC);		/* Clone the buffer */
 	  	if(skb==NULL) {
-			kfree_skb(skb2, FREE_WRITE);
+			kfree_skb(skb2);
 			return 0;
 		}
-	  	kfree_skb(skb2, FREE_WRITE);
+	  	kfree_skb(skb2);
 	}
 	else
 		skb_orphan(skb);

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