netns: use a spin_lock to protect nsid management