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

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

diff -u --recursive --new-file v2.1.85/linux/drivers/net/dlci.c linux/drivers/net/dlci.c
@@ -230,7 +230,7 @@
 		dlp->stats.rx_packets++;
 	}
 	else
-		dev_kfree_skb(skb, FREE_WRITE);
+		dev_kfree_skb(skb);
 }
 
 static int dlci_transmit(struct sk_buff *skb, struct device *dev)
@@ -275,7 +275,7 @@
 		/* experience suggest a slightly more conservative approach */
 
 		if (!ret)
-			dev_kfree_skb(skb, FREE_WRITE);
+			dev_kfree_skb(skb);
 
 		dev->tbusy = 0;
 	}

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