patch-2.1.86 linux/drivers/ap1000/mac.c
Next file: linux/drivers/block/genhd.c
Previous file: linux/drivers/ap1000/bif.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Feb 10 13:07:50 1998
- Orig file:
v2.1.85/linux/drivers/ap1000/mac.c
- Orig date:
Sun Jan 26 02:07:10 1997
diff -u --recursive --new-file v2.1.85/linux/drivers/ap1000/mac.c linux/drivers/ap1000/mac.c
@@ -803,7 +803,7 @@
memcpy(msp->cur_mbuf.ptr - 3, el->skb->data,
ROUND4(el->skb->len));
mac_queue_frame((struct mac_buf *)&msp->cur_mbuf);
- dev_kfree_skb(el->skb, FREE_WRITE);
+ dev_kfree_skb(el->skb);
kfree_s(el, sizeof(*el));
continue;
}
@@ -1096,7 +1096,7 @@
printk("mac_dma_complete(): Calling mac_queue_frame\n");
#endif
mac_queue_frame((struct mac_buf *)&msp->cur_mbuf);
- dev_kfree_skb(msp->cur_macq->skb, FREE_WRITE);
+ dev_kfree_skb(msp->cur_macq->skb);
kfree_s((struct mac_buf *)msp->cur_macq, sizeof(*(msp->cur_macq)));
msp->cur_macq = NULL;
#if MAC_DEBUG
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov