From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tetsuya Mukawa Subject: Re: [PATCH v3 2/2] vhost: Add VHOST PMD Date: Fri, 13 Nov 2015 13:29:35 +0900 Message-ID: <5645672F.6080109@igel.co.jp> References: <1446436737-25606-2-git-send-email-mukawa@igel.co.jp> <1447046221-20811-1-git-send-email-mukawa@igel.co.jp> <1447046221-20811-3-git-send-email-mukawa@igel.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, ann.zhuangyanying@huawei.com To: Rich Lane Return-path: Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) by dpdk.org (Postfix) with ESMTP id 5BE2C9368 for ; Fri, 13 Nov 2015 05:29:39 +0100 (CET) Received: by padhx2 with SMTP id hx2so87418138pad.1 for ; Thu, 12 Nov 2015 20:29:38 -0800 (PST) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 2015/11/13 13:03, Rich Lane wrote: >> + if (rte_kvargs_count(kvlist, ETH_VHOST_IFACE_ARG) == 1) { >> + ret = rte_kvargs_process(kvlist, ETH_VHOST_IFACE_ARG, >> + &open_iface, &iface_name); >> + if (ret < 0) >> + goto out_free; >> + } >> > I noticed that the strdup in eth_dev_vhost_create crashes if you don't pass > the iface option, so this should probably return an error if the option > doesn't exist. > Hi Lane, Yes, you are correct. Thanks for checking! I will fix it also. Tetsuya