-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/vdev_netvsc: fix device probing error flow
[ upstream commit 702b27d ] 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. Fixes: e7dc5d7 ("net/vdev_netvsc: implement core functionality") Signed-off-by: Long Li <longli@microsoft.com> Acked-by: Matan Azrad <matan@nvidia.com>
- Loading branch information
1 parent
247f3ab
commit 201ebb7
Showing
1 changed file
with
13 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters