patch-2.1.86 linux/drivers/net/sonic.c
Next file: linux/drivers/net/strip.c
Previous file: linux/drivers/net/smc9194.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Feb 10 12:56:45 1998
- Orig file:
v2.1.85/linux/drivers/net/sonic.c
- Orig date:
Sat Nov 29 10:33:20 1997
diff -u --recursive --new-file v2.1.85/linux/drivers/net/sonic.c linux/drivers/net/sonic.c
@@ -404,7 +404,7 @@
*/
if ((laddr = vdma_alloc(PHYSADDR(skb->data),skb->len)) == ~0UL) {
printk("%s: no VDMA entry for transmit available.\n",dev->name);
- dev_kfree_skb(skb,FREE_WRITE);
+ dev_kfree_skb(skb);
dev->tbusy = 0;
return 1;
}
@@ -506,7 +506,7 @@
/* We must free the original skb */
if (lp->tx_skb[entry]) {
- dev_kfree_skb(lp->tx_skb[entry],FREE_WRITE);
+ dev_kfree_skb(lp->tx_skb[entry]);
lp->tx_skb[entry] = 0;
}
/* and the VDMA address */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov