Update the comment for Task.netns

Task.netns can be accessed atomically, so Task.mu isn't needed to access it.

PiperOrigin-RevId: 398773947
This commit is contained in:
Andrei Vagin
2021-09-24 11:25:13 -07:00
committed by gVisor bot
parent b510c98464
commit e3657847cb
-2
View File
@@ -511,8 +511,6 @@ type Task struct {
numaNodeMask uint64
// netns is the task's network namespace. netns is never nil.
//
// netns is protected by mu.
netns inet.NamespaceAtomicPtr
// If rseqPreempted is true, before the next call to p.Switch(),