From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: kernel panic when stop my test demo Date: Tue, 13 Aug 2013 22:58:21 -0700 Message-ID: <20130813225821.3e23ad90@nehalam.linuxnetplumber.net> References: <005701ce98a1$87c081e0$974185a0$@126.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev-VfR2kkLFssw@public.gmane.org To: =?gb2312?B?sLK66r/8?= Return-path: In-Reply-To: <005701ce98a1$87c081e0$974185a0$@126.com> 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" Does your application have a signal handler and stop the device on shutdown? Since DPDK app's have raw access to the hardware it is critical to stop the hardware on exit. Other wise the Ethernet device can overwrite random memory. Perhaps the igb_uio driver should also have a fail safe and write to the status register to reset the device on close.