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

NewNamed(), DeleteNamed() - Missing a mutex #85

Open
davidhadas opened this issue Jun 1, 2024 · 1 comment
Open

NewNamed(), DeleteNamed() - Missing a mutex #85

davidhadas opened this issue Jun 1, 2024 · 1 comment

Comments

@davidhadas
Copy link

NewNamed(), DeleteNamed() missing support multithreaded environments.

A mutex need to be added to ensure that when a file is created it is also mounted without an attempt from a different threat to use, create or delete the same netns.

A mutex need to be added to ensure that when a file is unmounted it is also deleted without an attempt from a different threat to use, create or delete the same netns.

@jeffwidman
Copy link
Collaborator

A PR would be most welcome.

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

No branches or pull requests

2 participants