can: ti_hecc: use netif_rx in the interrupt
authorWolfgang Grandegger <wg@grandegger.com>
Wed, 1 Feb 2012 09:50:23 +0000 (10:50 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 2 Feb 2012 23:25:15 +0000 (00:25 +0100)
commite3f240f460a36b158217944b52a85f304914c1a6
treebcdfad758df83296f712a6479fe412ac2178fb33
parent2d5091e08c684912ed6b9ca03d1f7b01501b7bf6
can: ti_hecc: use netif_rx in the interrupt

This patch fixes locking problems by using netif_rx() instead of
netif_receive_skb() in ti_hecc_error() called from the interrupt
context.

Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/ti_hecc.c