patch-2.1.86 linux/drivers/net/mace.c
Next file: linux/drivers/net/myri_sbus.c
Previous file: linux/drivers/net/ltpc.c
Back to the patch index
Back to the overall index
- Lines: 33
- Date:
Tue Feb 10 12:56:45 1998
- Orig file:
v2.1.85/linux/drivers/net/mace.c
- Orig date:
Sat Nov 29 10:33:19 1997
diff -u --recursive --new-file v2.1.85/linux/drivers/net/mace.c linux/drivers/net/mace.c
@@ -333,12 +333,12 @@
/* free some skb's */
for (i = 0; i < N_RX_RING; ++i) {
if (mp->rx_bufs[i] != 0) {
- dev_kfree_skb(mp->rx_bufs[i], FREE_READ);
+ dev_kfree_skb(mp->rx_bufs[i]);
mp->rx_bufs[i] = 0;
}
}
for (i = mp->tx_empty; i != mp->tx_fill; ) {
- dev_kfree_skb(mp->tx_bufs[i], FREE_WRITE);
+ dev_kfree_skb(mp->tx_bufs[i]);
if (++i >= N_TX_RING)
i = 0;
}
@@ -601,7 +601,7 @@
++mp->stats.tx_aborted_errors;
} else
++mp->stats.tx_packets;
- dev_kfree_skb(mp->tx_bufs[i], FREE_WRITE);
+ dev_kfree_skb(mp->tx_bufs[i]);
--mp->tx_active;
if (++i >= N_TX_RING)
i = 0;
@@ -680,7 +680,7 @@
if (mp->tx_bad_runt) {
mp->tx_bad_runt = 0;
} else if (i != mp->tx_fill) {
- dev_kfree_skb(mp->tx_bufs[i], FREE_WRITE);
+ dev_kfree_skb(mp->tx_bufs[i]);
if (++i >= N_TX_RING)
i = 0;
mp->tx_empty = i;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov