aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMarc Kleine-Budde <[email protected]>2023-07-04 11:23:37 +0200
committerMarc Kleine-Budde <[email protected]>2023-07-28 08:52:03 +0200
commit6c8bc15f02b85bc8f47074110d8fd8caf7a1e42d (patch)
treececcbf4a376168c8e3bccdddb4e42241ad29444a /tools/perf/scripts/python/bin
parent55ad95d944251bb53df958e408964be2499603fd (diff)
can: gs_usb: gs_usb_receive_bulk_callback(): count RX overflow errors also in case of OOM
In case of an RX overflow error from the CAN controller and an OOM where no skb can be allocated, the error counters are not incremented. Fix this by first incrementing the error counters and then allocate the skb. Fixes: d08e973a77d1 ("can: gs_usb: Added support for the GS_USB CAN devices") Link: https://lore.kernel.org/all/[email protected] Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions