summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2023-05-01 19:14:41 +0300
committerMarc Kleine-Budde <mkl@pengutronix.de>2023-10-05 22:46:56 +0300
commitaa3f5d935cbb302dce89e8f278f6e8a3e2ecea18 (patch)
tree0d3b1d7776dd766af070c16f6c4548052f315121 /tools/perf/scripts/python/export-to-sqlite.py
parent864c6f07d3c4a4ed40fca932d9aec17607c6cc96 (diff)
downloadlinux-aa3f5d935cbb302dce89e8f278f6e8a3e2ecea18.tar.xz
can: at91_can: at91_poll_err(): increase stats even if no quota left or OOM
at91_poll_err() allocates a can error SKB, to inform the user space about the CAN error. Then it fills the SKB with information the error information and increases the net device error stats. In case no SBK can be allocated (e.g. due to an OOM) or the NAPI quota is 0 the function is left early and no stats are updated. This is not helpful to the user, as there is no information about the faulty CAN bus. Increase the error stats even if no quota is left or no SKB can be allocated. While there treat No-Acknowledgment as a bus error, too. Link: https://lore.kernel.org/all/20231005-at91_can-rx_offload-v2-18-9987d53600e0@pengutronix.de Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions