mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-26 19:14:18 +00:00
can: c_can: c_can_handle_bus_err(): update statistics if skb allocation fails
[ Upstream commit9e66242504] Ensure that the statistics are always updated, even if the skb allocation fails. Fixes:4d6d265379("can: c_can: fix {rx,tx}_errors statistics") Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> Link: https://patch.msgid.link/20241122221650.633981-2-dario.binacchi@amarulasolutions.com Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
1cdd3563e1
commit
c146df8292
1 changed files with 17 additions and 9 deletions
Loading…
Add table
Add a link
Reference in a new issue