Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
can: af_can: can_pernet_init(): add missing error handling for kzallo…
…c returning NULL This patch adds the missing check and error handling for out-of-memory situations, when kzalloc cannot allocate memory. Fixes: cb5635a ("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>
- Loading branch information