From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] testpmd: stop pkt forwarding when quitting testpmd Date: Tue, 10 Mar 2015 16:23:44 +0100 Message-ID: <1790291.NTMz1UdThI@xps13> References: <1425035919-21060-1-git-send-email-pablo.de.lara.guarch@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Pablo de Lara Return-path: In-Reply-To: <1425035919-21060-1-git-send-email-pablo.de.lara.guarch-ral2JQCrhuEAvxtiuMwx3w@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" > When user quits testpmd, and there is traffic being forwarded, > that may produce a segmentation fault, due to ports being closed, > while they are still transmitting packets. > > This patch prevents the issue from happening, > by stopping packet forwarding before closing the ports. > > Signed-off-by: Pablo de Lara Applied, thanks