summaryrefslogtreecommitdiff
path: root/patches/0025-usb-sg
diff options
context:
space:
mode:
Diffstat (limited to 'patches/0025-usb-sg')
-rw-r--r--patches/0025-usb-sg/usbnet.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/0025-usb-sg/usbnet.patch b/patches/0025-usb-sg/usbnet.patch
index 50c2d274..cab07250 100644
--- a/patches/0025-usb-sg/usbnet.patch
+++ b/patches/0025-usb-sg/usbnet.patch
@@ -58,10 +58,10 @@
+#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);
-@@ -1893,7 +1911,9 @@ int usbnet_resume (struct usb_interface
+@@ -1894,7 +1912,9 @@ int usbnet_resume (struct usb_interface
retval = usb_submit_urb(res, GFP_ATOMIC);
if (retval < 0) {
dev_kfree_skb_any(skb);