[dpdk-stable] [Patch v2] net/vdev_netvsc: prevent alarm loss on failed device probe

Matan Azrad matan at nvidia.com
Mon Oct 26 08:14:59 CET 2020


Hi Long

From: Long Li <longli at linuxonhyperv.com>
> If a device probe fails, the alarm is canceled and will no longer work for
> previously probed devices.
> 
> Fix this by checking if alarm is necessary at the end of each device probe.
> Reset the alarm if there are vdev_netvsc_ctx created.
> 
> Change log:
> v2: removed lock and flags, use counter to decide if alarm should be reset
> 
> Cc: stable at dpdk.org
> Signed-off-by: Long Li <longli at microsoft.com>

I suggest the next title:
net/vdev_netvsc: fix device probing error flow

and the next fixes line:
Fixes: e7dc5d7becc5 ("net/vdev_netvsc: implement core functionality")

Acked-by: Matan Azrad <matan at nvidia.com>


More information about the stable mailing list