summaryrefslogtreecommitdiff
path: root/patches/0025-usb-sg/usbnet.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/0025-usb-sg/usbnet.patch')
-rw-r--r--patches/0025-usb-sg/usbnet.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/0025-usb-sg/usbnet.patch b/patches/0025-usb-sg/usbnet.patch
index cab07250..1b9518cc 100644
--- a/patches/0025-usb-sg/usbnet.patch
+++ b/patches/0025-usb-sg/usbnet.patch
@@ -58,9 +58,9 @@
+#if LINUX_VERSION_IS_GEQ(3,35,0)
kfree(entry->urb->sg);
+#endif
- /* fall through */
case rx_cleanup:
usb_free_urb (entry->urb);
+ dev_kfree_skb (skb);
@@ -1894,7 +1912,9 @@ int usbnet_resume (struct usb_interface
retval = usb_submit_urb(res, GFP_ATOMIC);
if (retval < 0) {