diff options
| author | Marc Kleine-Budde <mkl@pengutronix.de> | 2019-07-15 20:53:08 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-05 09:19:43 +0100 |
| commit | 24e10fc2e0db64a87853f868f5c8dafac469ec8a (patch) | |
| tree | 9750dfadfa750ec50e72a636fbac71c5fb0d7f34 /include/linux/cmdline-parser.h | |
| parent | ee798153829321cc25fcdd86f1e3e74accc4b0b6 (diff) | |
can: flexcan: increase error counters if skb enqueueing via can_rx_offload_queue_sorted() fails
[ Upstream commit 758124335a9dd649ab820bfb5b328170919ee7dc ]
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.
Reported-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/cmdline-parser.h')
0 files changed, 0 insertions, 0 deletions
