Yao-Po Wang
41a6ebded5
kni: fix deadlock in netif_receive_skb
Per netif_receive_skb function description, it may only be called from interrupt contex, but KNI is run on kthread that like as user-space context. It may occur deadlock, if netif_receive_skb called from kthread, so it should be repleaced by netif_rx or adding local_bh_disable/enable around netif_receive_skb. Signed-off-by: Yao-Po Wang <blue119@gmail.com> Acked-by: Alex Markuze <alex@weka.io>
Description
No description provided
Languages
C
99.1%
Meson
0.5%
Python
0.2%
Shell
0.1%