projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'spi/for-5.14' into spi-next
[linux-2.6-microblaze.git]
/
drivers
/
net
/
usb
/
cdc_eem.c
diff --git
a/drivers/net/usb/cdc_eem.c
b/drivers/net/usb/cdc_eem.c
index
2e60bc1
..
359ea0d
100644
(file)
--- a/
drivers/net/usb/cdc_eem.c
+++ b/
drivers/net/usb/cdc_eem.c
@@
-123,10
+123,10
@@
static struct sk_buff *eem_tx_fixup(struct usbnet *dev, struct sk_buff *skb,
}
skb2 = skb_copy_expand(skb, EEM_HEAD, ETH_FCS_LEN + padlen, flags);
}
skb2 = skb_copy_expand(skb, EEM_HEAD, ETH_FCS_LEN + padlen, flags);
+ dev_kfree_skb_any(skb);
if (!skb2)
return NULL;
if (!skb2)
return NULL;
- dev_kfree_skb_any(skb);
skb = skb2;
done:
skb = skb2;
done: