patch-2.1.86 linux/drivers/net/eepro100.c
Next file: linux/drivers/net/eexpress.c
Previous file: linux/drivers/net/eepro.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Tue Feb 10 12:56:44 1998
- Orig file:
v2.1.85/linux/drivers/net/eepro100.c
- Orig date:
Tue Dec 30 14:19:39 1997
diff -u --recursive --new-file v2.1.85/linux/drivers/net/eepro100.c linux/drivers/net/eepro100.c
@@ -1186,7 +1186,7 @@
/* Free the original skb. */
if (sp->tx_skbuff[entry]) {
sp->stats.tx_packets++; /* Count only user packets. */
- dev_kfree_skb(sp->tx_skbuff[entry], FREE_WRITE);
+ dev_kfree_skb(sp->tx_skbuff[entry]);
sp->tx_skbuff[entry] = 0;
}
dirty_tx++;
@@ -1426,7 +1426,7 @@
sp->rx_skbuff[i] = 0;
/* Clear the Rx descriptors. */
if (skb)
- dev_kfree_skb(skb, FREE_WRITE);
+ dev_kfree_skb(skb);
}
for (i = 0; i < TX_RING_SIZE; i++) {
@@ -1434,7 +1434,7 @@
sp->tx_skbuff[i] = 0;
/* Clear the Tx descriptors. */
if (skb)
- dev_kfree_skb(skb, FREE_WRITE);
+ dev_kfree_skb(skb);
}
if (sp->mc_setup_frm) {
kfree(sp->mc_setup_frm);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov