summaryrefslogtreecommitdiff
path: root/patches/0025-usb-sg
diff options
context:
space:
mode:
authorDominik Sliwa <dominik.sliwa@toradex.com>2019-02-21 10:18:45 +0100
committerDominik Sliwa <dominik.sliwa@toradex.com>2019-02-21 10:23:44 +0100
commite7720369ef69376d1244b49373e34663eaa6b5a1 (patch)
treec38343b848fec5c4975f0191ee4fed1d802c185a /patches/0025-usb-sg
parent0bdb080c70495ea4efbed7661b4fe6100bd5adde (diff)
Fix patches against 4.19.24
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Diffstat (limited to 'patches/0025-usb-sg')
-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) {