]> git.baikalelectronics.ru Git - kernel.git/commit
can: c_can: Always update error stats
authorThomas Gleixner <tglx@linutronix.de>
Fri, 11 Apr 2014 08:13:13 +0000 (08:13 +0000)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 24 Apr 2014 20:08:57 +0000 (22:08 +0200)
commit964fa5a12e9984092988d9c0fba91c02cc43bd3f
tree566c4cdd0941b15676968e57cd0a627ab8a86502
parent6b7ba18185b12eb7ccc9f27f80e4f2e6f48da006
can: c_can: Always update error stats

If the allocation of the error skb fails, we still want to see the
error statistics.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/c_can/c_can.c