aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2017-07-29 11:51:01 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2017-10-19 13:05:54 +0200
commit5a606223c6b5b7560da253ed52e62c67fa18e29b (patch)
tree098958487eea2734994cbb5131508fa575c8d20e /tools/perf/scripts/python/export-to-postgresql.py
parentcan: af_can: do not access proto_tab directly use rcu_access_pointer instead (diff)
downloadwireguard-linux-5a606223c6b5b7560da253ed52e62c67fa18e29b.tar.xz
wireguard-linux-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 <socketcan@hartkopp.net> Cc: linux-stable <stable@vger.kernel.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions