This patch adds the missing check and error handling for out-of-memory
situations, when kzalloc cannot allocate memory.
Fixes: cb5635a36776 ("can: complete initial namespace support")
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
||
|---|---|---|
| .. | ||
| af_can.c | ||
| af_can.h | ||
| bcm.c | ||
| gw.c | ||
| Kconfig | ||
| Makefile | ||
| proc.c | ||
| raw.c | ||