projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d5091e
)
can: ti_hecc: use netif_rx in the interrupt
author
Wolfgang Grandegger
<wg@grandegger.com>
Wed, 1 Feb 2012 09:50:23 +0000
(10:50 +0100)
committer
Marc Kleine-Budde
<mkl@pengutronix.de>
Thu, 2 Feb 2012 23:25:15 +0000
(
00:25
+0100)
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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/can/ti_hecc.c
b/drivers/net/can/ti_hecc.c
index df809e3f130eed15f952323d0291ba6daa1661b8..5a2e1e3588a194a387660c0dd8715f5eb27fc39f 100644
(file)
--- a/
drivers/net/can/ti_hecc.c
+++ b/
drivers/net/can/ti_hecc.c
@@
-745,9
+745,10
@@
static int ti_hecc_error(struct net_device *ndev, int int_status,
}
}
- netif_r
eceive_skb
(skb);
+ netif_r
x
(skb);
stats->rx_packets++;
stats->rx_bytes += cf->can_dlc;
+
return 0;
}