From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 7166A20A50; Thu, 20 Apr 2017 19:05:59 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Thu, 20 Apr 2017 19:05:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=FXPbO663uNeK1PJ tCYjkxyAH3IFiMr+pMiRC6vYV0FE=; b=EpBXtw3byNVtkSsvHe1go3bcEfAe8p+ DT5vlJPo7UXTDAifItW+8iWYRoGMB/WCs8qBfCqfzzusUo6aHQ8HKKFCak3fmIg5 BUlTQbBPQc7Bd/gBXjX82ISaWBPeCBTPg/pEUGayD33KbinXLNSGt/zsrZNddLwi bDfSMVQQCDz8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=FXPbO663uNeK1PJtCYjkxyAH3IFiMr+pMiRC6vYV0FE=; b=r45yMgrz 1U6U/XWjiXu9Fz73RW6FUgOkkYMIPNnSC6a7NVWxicxIKG4XICRN8rTzKdRjFUhi Y90wEsdiFA6BI7ZIqT97XMc92zHb39voOSBR+zqMjziWKnWdvXddR4ZeBqbyDGMa JH+MqzpE58ggkL+dOVMZTp2eKNBDQUVB3sivUtw2z24wEQCK/9oQEfCbTikiJ3xs MR/x7Z+5hyCUCxDeIz8l8xtURWi2PLFicOYuVX6mJ6CcqC+PAjabwptLxQNLbB7H ja1yH+/ENS7eMycfg4SaH5ug9O9W0SB4eLyLLIIuCu8Y1BUDUf5oW1XuRXARe7PL JPF9iQojRIUwYA== X-ME-Sender: X-Sasl-enc: J2UZTjEi4OVeMqh36xTbBDYKSv0cjYqnZFDaprnTD+KP 1492729559 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 270187E0EE; Thu, 20 Apr 2017 19:05:59 -0400 (EDT) From: Thomas Monjalon To: David Hunt Cc: dev@dpdk.org, bruce.richardson@intel.com Date: Fri, 21 Apr 2017 01:05:58 +0200 Message-ID: <6174590.yX9e5DEMu2@xps> In-Reply-To: <1492160393-125112-1-git-send-email-david.hunt@intel.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] lib/distributor: fix segfaults in flush X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Apr 2017 23:06:00 -0000 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