From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id 360D89A8E for ; Tue, 10 Mar 2015 16:24:19 +0100 (CET) Received: by wggx13 with SMTP id x13so2629766wgg.4 for ; Tue, 10 Mar 2015 08:24:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=eeKwdWidtS9fY+y84ox6vzuufBQDbk8Ewe2uK4c/8uc=; b=cEpsczpTBy4MvqQkOaF8CY6STWgSP9G+eVc9w/AbBJEZTNAAYbNSshgSmHWcE4zc0K 7ypZV/skq6NmkEYykCKAmxQD33rveFK7bz8wUIxPLDqI7qOTww5dX1H41um+YV0fJ3Qn /sKARZBiWoQTmLiGbsBmaTBJaRid2WvgnrB7i/sY+MuV7jZe+cssl7g6ohpuBCR8Mp6o YafstVsVDguJreImf+E8ZTjRD98cTO2522vcm/6HPGtpZrxDeGRi8J8I8XpJKSg3YYLg 1eDdI4ac+zRgbL5bL4p0jIq4966e5YM3eMVEw8P0bmnU5PrXKyOWahcwWT2gxV21XEbc Zfkw== X-Gm-Message-State: ALoCoQnfJXaOpcfwMZHGTeOlcc+9/HP+KuA/EzbnSCwzkZwSCKj0HMbjE044T2IvCMwv2KIuMB85 X-Received: by 10.194.24.35 with SMTP id r3mr9516876wjf.125.1426001059032; Tue, 10 Mar 2015 08:24:19 -0700 (PDT) Received: from xps13.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id ub1sm1299226wjc.43.2015.03.10.08.24.17 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Mar 2015 08:24:18 -0700 (PDT) From: Thomas Monjalon To: Pablo de Lara Date: Tue, 10 Mar 2015 16:23:44 +0100 Message-ID: <1790291.NTMz1UdThI@xps13> Organization: 6WIND User-Agent: KMail/4.14.4 (Linux/3.18.4-1-ARCH; KDE/4.14.4; x86_64; ; ) In-Reply-To: <1425035919-21060-1-git-send-email-pablo.de.lara.guarch@intel.com> References: <1425035919-21060-1-git-send-email-pablo.de.lara.guarch@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] testpmd: stop pkt forwarding when quitting testpmd X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Mar 2015 15:24:19 -0000 > 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