Always use dev_kfree_skb.
speedtch.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff -Nru a/drivers/usb/misc/speedtch.c b/drivers/usb/misc/speedtch.c
--- a/drivers/usb/misc/speedtch.c Wed May 21 00:41:00 2003
+++ b/drivers/usb/misc/speedtch.c Wed May 21 00:41:00 2003
@@ -757,7 +757,7 @@
if (vcc->pop)
vcc->pop (vcc, skb);
else
- kfree_skb (skb);
+ dev_kfree_skb (skb);
instance->current_skb = NULL;
if (vcc->stats)
@@ -780,7 +780,7 @@
if (vcc->pop)
vcc->pop (vcc, skb);
else
- kfree_skb (skb);
+ dev_kfree_skb (skb);
}
spin_unlock_irq (&instance->sndqueue.lock);
@@ -791,7 +791,7 @@
if (vcc->pop)
vcc->pop (vcc, skb);
else
- kfree_skb (skb);
+ dev_kfree_skb (skb);
}
tasklet_enable (&instance->send_tasklet);
dbg ("udsl_cancel_send done");
@@ -987,7 +987,7 @@
tasklet_enable (&instance->receive_tasklet);
if (vcc_data->skb)
- kfree_skb (vcc_data->skb);
+ dev_kfree_skb (vcc_data->skb);
vcc_data->skb = NULL;
kfree (vcc_data);
@@ -1219,7 +1219,7 @@
usb_free_urb (rcv->urb);
if (rcv->skb)
- kfree_skb (rcv->skb);
+ dev_kfree_skb (rcv->skb);
}
kfree (instance);
@@ -1291,7 +1291,7 @@
struct udsl_receiver *rcv = &(instance->receivers [i]);
usb_free_urb (rcv->urb);
- kfree_skb (rcv->skb);
+ dev_kfree_skb (rcv->skb);
}
/* send finalize */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri May 23 2003 - 22:00:42 EST