linux/drivers/net/can/usb
Johan Hovold 870db5d101 can: ucan: fix non-atomic allocation in completion handler
USB completion handlers are called in atomic context and must
specifically not allocate memory using GFP_KERNEL.

Fixes: 9f2d3eae88 ("can: ucan: add driver for Theobroma Systems UCAN devices")
Cc: stable <stable@vger.kernel.org>     # 4.19
Cc: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
Cc: Martin Elshuber <martin.elshuber@theobroma-systems.com>
Cc: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2019-12-03 11:15:08 +01:00
..
kvaser_usb
peak_usb can: peak_usb: report bus recovery as well 2019-11-04 21:47:20 +01:00
ems_usb.c
esd_usb2.c
gs_usb.c can: gs_usb: gs_can_open(): prevent memory leak 2019-11-04 21:47:20 +01:00
Kconfig drivers: net: Fix Kconfig indentation 2019-09-26 08:56:17 +02:00
Makefile
mcba_usb.c can: mcba_usb: fix use-after-free on disconnect 2019-11-04 21:47:20 +01:00
ucan.c can: ucan: fix non-atomic allocation in completion handler 2019-12-03 11:15:08 +01:00
usb_8dev.c can: usb_8dev: fix use-after-free on disconnect 2019-11-04 21:47:20 +01:00