Thread (11 messages) 11 messages, 2 authors, 2021-02-26

Re: can, tcan4x5x: look to merge rpi support into rpi kernel tree

From: Torin Cooper-Bennun <hidden>
Date: 2021-02-26 12:32:30

On Fri, Feb 26, 2021 at 01:22:59PM +0100, Marc Kleine-Budde wrote:
The problem is that netif_receive_skb(skb) is called from a threaded interrupt
handler, but you should call it from NAPI.
Ah, I was sure it was in fact called from NAPI, but that's only if
is_peripheral is false. It should be as simple as getting rid of this
switch, then, no?

https://elixir.bootlin.com/linux/latest/source/drivers/net/can/m_can/m_can.c#L966

--
Regards,

Torin Cooper-Bennun
Software Engineer  | maxiluxsystems.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help