Fix S/R on inet.Namespace.

PiperOrigin-RevId: 299238067
This commit is contained in:
Ting-Yu Wang
2020-03-05 17:40:18 -08:00
committed by gVisor bot
parent 6367963c14
commit 9b64b658c1
+4 -1
View File
@@ -23,7 +23,10 @@ type Namespace struct {
// creator allows kernel to create new network stack for network namespaces.
// If nil, no networking will function if network is namespaced.
creator NetworkStackCreator
//
// At afterLoad(), creator will be used to create network stack. Stateify
// needs to wait for this field to be loaded before calling afterLoad().
creator NetworkStackCreator `state:"wait"`
// isRoot indicates whether this is the root network namespace.
isRoot bool