[dpdk-dev] [PATCH v2] vhost: fix passing destroyed device to destroy callback
Tiwei Bie
tiwei.bie at intel.com
Mon Apr 15 08:21:42 CEST 2019
On Fri, Apr 12, 2019 at 11:32:28AM +0300, 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 at dpdk.org
>
> Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
> ---
>
> Version 2:
> * Fixed wrong order of 'destroy_device' and 'destroy_connection'.
>
> lib/librte_vhost/socket.c | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
Reviewed-by: Tiwei Bie <tiwei.bie at intel.com>
More information about the dev
mailing list