Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NET-1148:add lock for multinet on Win #769

Merged
merged 3 commits into from
May 8, 2024
Merged

NET-1148:add lock for multinet on Win #769

merged 3 commits into from
May 8, 2024

Conversation

yabinma
Copy link
Collaborator

@yabinma yabinma commented Apr 17, 2024

Describe your changes

Provide Issue ticket number if applicable/not in title

Provide link to Netmaker PR if required

Provide testing steps

Checklist before requesting a review

  • My changes affect only 10 files or less.
  • I have performed a self-review of my code and tested it.
  • If it is a new feature, I have added thorough tests, my code is <= 1450 lines.
  • If it is a bugfix, my code is <= 200 lines.
  • My functions are <= 80 lines.
  • I have had my code reviewed by a peer.
  • My unit tests pass locally.
  • Netclient & Netmaker are awesome.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could be good to add mutex for other OS as well

@yabinma
Copy link
Collaborator Author

yabinma commented Apr 25, 2024

Added one more commit to add lock for reset interface. As tested, when there are more than 2 networks in the enrollment key, there is still contention to cause the interface mis-configured. With the new added changes, it should be ok for now.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing wgMutex for linux close func

@yabinma yabinma changed the title add lock for multinet on Win NET-1148:add lock for multinet on Win Apr 30, 2024
@abhishek9686 abhishek9686 merged commit ce0e6e6 into develop May 8, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants