Thread (3 messages) flat view 3 messages, 3 authors, 2021-02-23

Re: [PATCH net] bcm63xx_enet: fix sporadic kernel panic

From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2021-02-22 05:06:53
Also in: linux-arm-kernel, lkml


On 2/21/2021 17:35, Sieng Piaw Liew wrote:
In ndo_stop functions, netdev_completed_queue() is called during forced
tx reclaim, after netdev_reset_queue(). This may trigger kernel panic if
there is any tx skb left.

This patch moves netdev_reset_queue() to after tx reclaim, so BQL can
complete successfully then reset.

Signed-off-by: Sieng Piaw Liew <redacted>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Fixes: 4c59b0f5543d ("bcm63xx_enet: add BQL support")
-- 
Florian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help