From e3657847cb7edcecc3facc4c499fc0b154364487 Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Fri, 24 Sep 2021 11:22:56 -0700 Subject: [PATCH] Update the comment for Task.netns Task.netns can be accessed atomically, so Task.mu isn't needed to access it. PiperOrigin-RevId: 398773947 --- pkg/sentry/kernel/task.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/sentry/kernel/task.go b/pkg/sentry/kernel/task.go index 2eebd1b47..b0004482c 100644 --- a/pkg/sentry/kernel/task.go +++ b/pkg/sentry/kernel/task.go @@ -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(),