diff options
author | Ahmed S. Darwish <ahmed.darwish@valeo.com> | 2015-01-26 07:27:19 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2015-01-28 13:39:37 +0100 |
commit | 3b07a444ee48a8081d2ed3f0abeeabd038404ac1 (patch) | |
tree | ea72a3af95e8f495b736d3c684d464c708673462 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | ff660f75be36e6db75d45dc742a4a468c5a9c20d (diff) |
can: kvaser_usb: Update interface state before exiting on OOM
Update all of the can interface's state and error counters before
trying any skb allocation that can actually fail with -ENOMEM.
Suggested-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Ahmed S. Darwish <ahmed.darwish@valeo.com>
Acked-by: Andri Yngvason <andri.yngvason@marel.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions