patch-2.1.86 linux/drivers/net/sunhme.c
Next file: linux/drivers/net/sunlance.c
Previous file: linux/drivers/net/strip.c
Back to the patch index
Back to the overall index
- Lines: 44
- Date:
Tue Feb 10 12:56:45 1998
- Orig file:
v2.1.85/linux/drivers/net/sunhme.c
- Orig date:
Sat Nov 29 10:33:20 1997
diff -u --recursive --new-file v2.1.85/linux/drivers/net/sunhme.c linux/drivers/net/sunhme.c
@@ -931,14 +931,14 @@
for(i = 0; i < RX_RING_SIZE; i++) {
if(hp->rx_skbs[i] != NULL) {
- dev_kfree_skb(hp->rx_skbs[i], FREE_READ);
+ dev_kfree_skb(hp->rx_skbs[i]);
hp->rx_skbs[i] = NULL;
}
}
for(i = 0; i < TX_RING_SIZE; i++) {
if(hp->tx_skbs[i] != NULL) {
- dev_kfree_skb(hp->tx_skbs[i], FREE_WRITE);
+ dev_kfree_skb(hp->tx_skbs[i]);
hp->tx_skbs[i] = NULL;
}
}
@@ -1612,7 +1612,7 @@
mmu_sync_dma(kva_to_hva(hp, skb->data),
skb->len, hp->happy_sbus_dev->my_bus);
#endif
- dev_kfree_skb(skb, FREE_WRITE);
+ dev_kfree_skb(skb);
hp->net_stats.tx_packets++;
elem = NEXT_TX(elem);
@@ -1644,7 +1644,7 @@
hp->tx_skbs[elem] = NULL;
hp->net_stats.tx_bytes+=skb->len;
- dev_kfree_skb(skb, FREE_WRITE);
+ dev_kfree_skb(skb);
hp->net_stats.tx_packets++;
elem = NEXT_TX(elem);
@@ -2330,7 +2330,7 @@
dev->trans_start = jiffies;
hp->etxregs->tx_pnding = ETX_TP_DMAWAKEUP;
- dev_kfree_skb(skb, FREE_WRITE);
+ dev_kfree_skb(skb);
if(TX_BUFFS_AVAIL(hp))
dev->tbusy = 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov