patch-2.1.86 linux/drivers/net/myri_sbus.c
Next file: linux/drivers/net/ni5010.c
Previous file: linux/drivers/net/mace.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Tue Feb 10 12:56:45 1998
- Orig file:
v2.1.85/linux/drivers/net/myri_sbus.c
- Orig date:
Mon Jan 12 15:28:18 1998
diff -u --recursive --new-file v2.1.85/linux/drivers/net/myri_sbus.c linux/drivers/net/myri_sbus.c
@@ -244,7 +244,7 @@
rq->tail = rq->head = 0;
for(i = 0; i < (RX_RING_SIZE+1); i++) {
if(mp->rx_skbs[i] != NULL) {
- dev_kfree_skb(mp->rx_skbs[i], FREE_READ);
+ dev_kfree_skb(mp->rx_skbs[i]);
mp->rx_skbs[i] = NULL;
}
}
@@ -252,7 +252,7 @@
mp->tx_old = sq->tail = sq->head = 0;
for(i = 0; i < TX_RING_SIZE; i++) {
if(mp->tx_skbs[i] != NULL) {
- dev_kfree_skb(mp->tx_skbs[i], FREE_WRITE);
+ dev_kfree_skb(mp->tx_skbs[i]);
mp->tx_skbs[i] = NULL;
}
}
@@ -337,7 +337,7 @@
struct sk_buff *skb = mp->tx_skbs[entry];
DTX(("SKB[%d] ", entry));
- dev_kfree_skb(skb, FREE_WRITE);
+ dev_kfree_skb(skb);
mp->tx_skbs[entry] = NULL;
mp->enet_stats.tx_packets++;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov