From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] lib/distributor: fix segfaults in flush Date: Fri, 21 Apr 2017 01:05:58 +0200 Message-ID: <6174590.yX9e5DEMu2@xps> References: <1492072587-121343-1-git-send-email-david.hunt@intel.com> <1492160393-125112-1-git-send-email-david.hunt@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, bruce.richardson@intel.com To: David Hunt Return-path: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id DA195DE0 for ; Fri, 21 Apr 2017 01:05:59 +0200 (CEST) In-Reply-To: <1492160393-125112-1-git-send-email-david.hunt@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 14/04/2017 10:59, David Hunt: > Occasionally, the distributor single-packet-at-a-time mode will > segfault because it inadvertently calls some burst mode code when > flushing packets. > > This patch ensures that only the v20 (single mode) codepath is used, and > returns without falling through to the burst mode code. > > Fixes: 775003ad2f96 ("distributor: add new burst-capable library") > > v2: Extented commit message. Patch remains the same. > > Signed-off-by: David Hunt > Tested-by: Yong Liu > Acked-by: Bruce Richardson Applied, thanks