[dpdk-stable] [dpdk-dev] [PATCH 2/2] bus/vdev: fix hotplug twice

Andrew Rybchenko arybchenko at solarflare.com
Mon Feb 25 08:50:28 CET 2019


On 2/21/19 10:01 PM, Thomas Monjalon wrote:
> From: Raslan Darawsheh <rasland at mellanox.com>
>
> In case vdev was already probed, it shouldn't be probed again,
> and it should return -EEXIST as error.
> There are some checks in vdev_probe() and insert_vdev(),
> but a check was missing in vdev_plug().
> The check is moved in vdev_probe_all_drivers() which is called
> in all code paths.
>
> Fixes: e9d159c3d534 ("eal: allow probing a device again")
> Cc: stable at dpdk.org
>
> Signed-off-by: Raslan Darawsheh <rasland at mellanox.com>
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
>

Reviewed-by: Andrew Rybchenko <arybchenko at solarflare.com>



More information about the stable mailing list