From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [memnic PATCH] linux: fix to disable softirq before netif_receive_skb() Date: Mon, 30 Jun 2014 00:14:53 +0200 Message-ID: <6362330.xvAMVmviSp@xps13> References: <7F861DC0615E0C47A872E6F3C5FCDDBD01101844@BPXM14GP.gisp.nec.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org, Hayato Momma To: Hiroshi Shimamoto Return-path: In-Reply-To: <7F861DC0615E0C47A872E6F3C5FCDDBD01101844-ZmjkEB1lVlLt6d3pZDjeaEtBU8KWyXPq@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" > 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 > Reviewed-by: Hayato Momma Applied Thanks -- Thomas