[dpdk-dev] [PATCH v2] vhost: fix passing destroyed device to destroy callback
Maxime Coquelin
maxime.coquelin at redhat.com
Wed Apr 17 09:54:04 CEST 2019
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 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(-)
Applied to dpdk-next-virtio/master.
Thanks,
Maxime
More information about the dev
mailing list