summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2019-07-15 20:53:08 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2019-11-04 21:47:22 +0100
commitc4409e9fbea954fdae7927205283dfc3ed8e2d6e (patch)
tree0d0d2a6626a95e94f447fdc71d3e47aa9be65f3f /kernel
parent758124335a9dd649ab820bfb5b328170919ee7dc (diff)
downloadlinux-stable-c4409e9fbea954fdae7927205283dfc3ed8e2d6e.tar.gz
linux-stable-c4409e9fbea954fdae7927205283dfc3ed8e2d6e.tar.bz2
linux-stable-c4409e9fbea954fdae7927205283dfc3ed8e2d6e.zip
can: ti_hecc: ti_hecc_error(): increase error counters if skb enqueueing via can_rx_offload_queue_sorted() fails
The call to can_rx_offload_queue_sorted() may fail and return an error (in the current implementation due to resource shortage). The passed skb is consumed. This patch adds incrementing of the appropriate error counters to let the device statistics reflect that there's a problem. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions