Home
last modified time | relevance | path

Searched hist:"870 db5d1015c8bd63e93b579e857223c96249ff7" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/can/usb/
H A Ducan.cdiff 870db5d1015c8bd63e93b579e857223c96249ff7 Thu Nov 28 19:26:03 CET 2019 Johan Hovold <johan@kernel.org> 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: 9f2d3eae88d2 ("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>