-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Windows] Fix the race condition in ifConfigurator
ensureHNSNetwork may be called in parallel but the variable hnsNetwork was not protected by lock, which could lead to data race. This patch fixes it by initializing the variable when ifConfigurator is instantiated. It also removes an unused variable. Signed-off-by: Quan Tian <qtian@vmware.com>
- Loading branch information
Showing
1 changed file
with
6 additions
and
21 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