]> 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)
commit544901f2a219a63aa99adca45ac80546677e35d4
tree566c4cdd0941b15676968e57cd0a627ab8a86502
parent74ab6ef17eba7e675ffd437b09aba4154bcccc9a
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