From e7720369ef69376d1244b49373e34663eaa6b5a1 Mon Sep 17 00:00:00 2001 From: Dominik Sliwa Date: Thu, 21 Feb 2019 10:18:45 +0100 Subject: Fix patches against 4.19.24 Signed-off-by: Dominik Sliwa --- patches/0025-usb-sg/usbnet.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'patches/0025-usb-sg') 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) { -- cgit v1.2.3