linux/net/can
Marc Kleine-Budde 5a606223c6 can: af_can: can_pernet_init(): add missing error handling for kzalloc returning NULL
This patch adds the missing check and error handling for out-of-memory
situations, when kzalloc cannot allocate memory.

Fixes: cb5635a367 ("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>
2017-10-19 13:05:54 +02:00
..
Kconfig
Makefile
af_can.c can: af_can: can_pernet_init(): add missing error handling for kzalloc returning NULL 2017-10-19 13:05:54 +02:00
af_can.h can: complete initial namespace support 2017-04-25 09:04:29 +02:00
bcm.c can: bcm: check for null sk before deferencing it via the call to sock_net 2017-10-19 13:05:53 +02:00
gw.c rtnetlink: make rtnl_register accept a flags parameter 2017-08-09 16:57:38 -07:00
proc.c can: complete initial namespace support 2017-04-25 09:04:29 +02:00
raw.c