mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Fix S/R on inet.Namespace.
PiperOrigin-RevId: 299238067
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user