From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id AA853A00E6 for ; Wed, 17 Apr 2019 09:54:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2CAC91B54F; Wed, 17 Apr 2019 09:54:19 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 56D031B42D; Wed, 17 Apr 2019 09:54:14 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B3721309179A; Wed, 17 Apr 2019 07:54:13 +0000 (UTC) Received: from [10.36.112.28] (ovpn-112-28.ams2.redhat.com [10.36.112.28]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B89D71001DE0; Wed, 17 Apr 2019 07:54:07 +0000 (UTC) To: Ilya Maximets , dev@dpdk.org Cc: Tiwei Bie , Jens Freimann , Dariusz Stojaczyk , David Marchand , stable@dpdk.org References: <20190409133622.14729-1-i.maximets@samsung.com> <20190412083228.8371-1-i.maximets@samsung.com> From: Maxime Coquelin Message-ID: Date: Wed, 17 Apr 2019 09:54:04 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <20190412083228.8371-1-i.maximets@samsung.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Wed, 17 Apr 2019 07:54:13 +0000 (UTC) Subject: Re: [dpdk-stable] [PATCH v2] vhost: fix passing destroyed device to destroy callback X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On 4/12/19 10:32 AM, Ilya Maximets wrote: > Application should be able to obtain information like 'ifname' from > the 'vid' passed to 'destroy_connection' callback. Currently, all the > API calls with passed 'vid' fails with 'device not found'. > > Fixes: efba12a78ddf ("vhost: add user callbacks for socket open/close") > Cc:stable@dpdk.org > > Signed-off-by: Ilya Maximets > --- > > Version 2: > * Fixed wrong order of 'destroy_device' and 'destroy_connection'. > > lib/librte_vhost/socket.c | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) Applied to dpdk-next-virtio/master. Thanks, Maxime