[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dpdk-dev
Subject:    [dpdk-dev] [memnic PATCH] linux: fix to disable softirq before netif_receive_skb()
From:       thomas.monjalon () 6wind ! com (Thomas Monjalon)
Date:       2014-06-29 22:14:53
Message-ID: 6362330.xvAMVmviSp () xps13
[Download RAW message or body]

> 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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic