patch-2.1.86 linux/drivers/net/hp100.c
Next file: linux/drivers/net/hydra.c
Previous file: linux/drivers/net/hamradio/scc.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/hp100.c
- Orig date:
Sat Nov 29 10:33:19 1997
diff -u --recursive --new-file v2.1.85/linux/drivers/net/hp100.c linux/drivers/net/hp100.c
@@ -1474,7 +1474,7 @@
hp100_inb(TX_PDL),
donecount);
#endif
- dev_kfree_skb(lp->txrhead->skb, FREE_WRITE);
+ dev_kfree_skb(lp->txrhead->skb);
lp->txrhead->skb = (void *) NULL;
lp->txrhead = lp->txrhead->next;
lp->txrcommit--;
@@ -1599,7 +1599,7 @@
dev->trans_start = jiffies;
hp100_ints_on();
- dev_kfree_skb(skb, FREE_WRITE);
+ dev_kfree_skb(skb);
#ifdef HP100_DEBUG_TX
printk("hp100_start_xmit: end\n");
@@ -1815,7 +1815,7 @@
printk("hp100: rx_bm: Received bad packet (length=%d)\n", pkt_len);
#endif
if (ptr->skb != NULL)
- dev_kfree_skb(ptr->skb, FREE_READ);
+ dev_kfree_skb(ptr->skb);
lp->stats.rx_errors++;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov