diff options
| author | Marc Kleine-Budde <[email protected]> | 2017-07-29 09:51:01 +0000 |
|---|---|---|
| committer | Marc Kleine-Budde <[email protected]> | 2017-10-19 11:05:54 +0000 |
| commit | 5a606223c6b5b7560da253ed52e62c67fa18e29b (patch) | |
| tree | 098958487eea2734994cbb5131508fa575c8d20e /tools/perf/scripts/python/intel-pt-events.py | |
| parent | can: af_can: do not access proto_tab directly use rcu_access_pointer instead (diff) | |
| download | kernel-5a606223c6b5b7560da253ed52e62c67fa18e29b.tar.gz kernel-5a606223c6b5b7560da253ed52e62c67fa18e29b.zip | |
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: cb5635a36776 ("can: complete initial namespace support")
Acked-by: Oliver Hartkopp <[email protected]>
Cc: linux-stable <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
