summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/socket/netlink/port/port.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/socket/netlink/port/port.go')
-rw-r--r--pkg/sentry/socket/netlink/port/port.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/sentry/socket/netlink/port/port.go b/pkg/sentry/socket/netlink/port/port.go
index 4ccf0b84c..1c5d4c3a5 100644
--- a/pkg/sentry/socket/netlink/port/port.go
+++ b/pkg/sentry/socket/netlink/port/port.go
@@ -32,6 +32,8 @@ import (
const maxPorts = 10000
// Manager allocates netlink port IDs.
+//
+// +stateify savable
type Manager struct {
// mu protects the fields below.
mu sync.Mutex `state:"nosave"`