[dpdk-dev] [memnic PATCH] linux: fix to disable softirq before netif_receive_skb()
Thomas Monjalon
thomas.monjalon at 6wind.com
Mon Jun 30 00:14:53 CEST 2014
> Calling netif_receive_skb() from memnic thread may cause deadlock, if
> softirq is not disabled.
>
> The netif_receive_skb() should be called in softirq context, but memnic
> thread is not softirq context. That may conflict softirq work like a
> timer handler in kernel network stack.
>
> Signed-off-by: Hiroshi Shimamoto <h-shimamoto at ct.jp.nec.com>
> Reviewed-by: Hayato Momma <h-momma at ce.jp.nec.com>
Applied
Thanks
--
Thomas
More information about the dev
mailing list