netns icon indicating copy to clipboard operation
netns copied to clipboard

NewNamed(), DeleteNamed() - Missing a mutex

Open davidhadas opened this issue 8 months ago • 1 comments

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.

davidhadas avatar Jun 01 '24 06:06 davidhadas