aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/atm/usbatm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/atm/usbatm.c')
-rw-r--r--drivers/usb/atm/usbatm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/usb/atm/usbatm.c b/drivers/usb/atm/usbatm.c
index 103764df47ea..98b74b9dcdd2 100644
--- a/drivers/usb/atm/usbatm.c
+++ b/drivers/usb/atm/usbatm.c
@@ -72,6 +72,7 @@
72#include <linux/kernel.h> 72#include <linux/kernel.h>
73#include <linux/module.h> 73#include <linux/module.h>
74#include <linux/moduleparam.h> 74#include <linux/moduleparam.h>
75#include <linux/netdevice.h>
75#include <linux/proc_fs.h> 76#include <linux/proc_fs.h>
76#include <linux/sched.h> 77#include <linux/sched.h>
77#include <linux/signal.h> 78#include <linux/signal.h>
@@ -199,7 +200,7 @@ static inline void usbatm_pop(struct atm_vcc *vcc, struct sk_buff *skb)
199 if (vcc->pop) 200 if (vcc->pop)
200 vcc->pop(vcc, skb); 201 vcc->pop(vcc, skb);
201 else 202 else
202 dev_kfree_skb(skb); 203 dev_kfree_skb_any(skb);
203} 204}
204 205
205 206
@@ -397,7 +398,7 @@ static void usbatm_extract_cells(struct usbatm_data *instance,
397 if (!atm_charge(vcc, skb->truesize)) { 398 if (!atm_charge(vcc, skb->truesize)) {
398 atm_rldbg(instance, "%s: failed atm_charge (skb->truesize: %u)!\n", 399 atm_rldbg(instance, "%s: failed atm_charge (skb->truesize: %u)!\n",
399 __func__, skb->truesize); 400 __func__, skb->truesize);
400 dev_kfree_skb(skb); 401 dev_kfree_skb_any(skb);
401 goto out; /* atm_charge increments rx_drop */ 402 goto out; /* atm_charge increments rx_drop */
402 } 403 }
403 404