diff options
| author | Ahmed S. Darwish <[email protected]> | 2015-01-26 07:27:19 +0200 |
|---|---|---|
| committer | Marc Kleine-Budde <[email protected]> | 2015-01-28 13:39:37 +0100 |
| commit | 3b07a444ee48a8081d2ed3f0abeeabd038404ac1 (patch) | |
| tree | ea72a3af95e8f495b736d3c684d464c708673462 /tools/perf/scripts/python/Perf-Trace-Util/Context.c | |
| 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 <[email protected]>
Signed-off-by: Ahmed S. Darwish <[email protected]>
Acked-by: Andri Yngvason <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions