patch-2.1.86 linux/arch/sparc/ap1000/bnet.c
Next file: linux/arch/sparc/ap1000/tnet.c
Previous file: linux/arch/ppc/kernel/irq.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Tue Feb 10 13:07:50 1998
- Orig file:
v2.1.85/linux/arch/sparc/ap1000/bnet.c
- Orig date:
Tue May 13 22:41:03 1997
diff -u --recursive --new-file v2.1.85/linux/arch/sparc/ap1000/bnet.c linux/arch/sparc/ap1000/bnet.c
@@ -584,7 +584,7 @@
if (q->req.type == REQ_IP) {
struct sk_buff *skb = (struct sk_buff *)q->data;
write_bif(skb->data,q->data_size,1,1);
- dev_kfree_skb(skb, FREE_WRITE);
+ dev_kfree_skb(skb);
} else {
write_bif(q->data,q->data_size,1,1);
if (!(q->flags & BIF_NOCOPY))
@@ -718,7 +718,7 @@
q = (struct bif_queue *)kmalloc(sizeof(*q), GFP_ATOMIC);
if (!q) {
/* yikes! */
- dev_kfree_skb(skb, FREE_WRITE);
+ dev_kfree_skb(skb);
return(-ENOMEM);
}
@@ -1021,7 +1021,7 @@
}
if (skb_out) {
- dev_kfree_skb(skb_out, FREE_WRITE);
+ dev_kfree_skb(skb_out);
skb_out = NULL;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov