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 <[email protected]> Cc: linux-stable <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
- Loading branch information