summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/tcpip.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-12-10 00:05:25 +0000
committergVisor bot <gvisor-bot@google.com>2020-12-10 00:05:25 +0000
commit1faf5799ed1fb83a36c6433b22a7c8f495395943 (patch)
treef7409128707e75963a47d9b2b77adae4c4643b93 /pkg/tcpip/tcpip.go
parente9cf884608ab709c8659683a39c6c37f471ebe1d (diff)
parent992769c7748d886e7ee1580f0c6cfdfa7ce0eb75 (diff)
Merge release-20201130.0-71-g992769c77 (automated)
Diffstat (limited to 'pkg/tcpip/tcpip.go')
-rw-r--r--pkg/tcpip/tcpip.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkg/tcpip/tcpip.go b/pkg/tcpip/tcpip.go
index 2bd472811..23e597365 100644
--- a/pkg/tcpip/tcpip.go
+++ b/pkg/tcpip/tcpip.go
@@ -49,8 +49,9 @@ const ipv4AddressSize = 4
// Error represents an error in the netstack error space. Using a special type
// ensures that errors outside of this space are not accidentally introduced.
//
-// Note: to support save / restore, it is important that all tcpip errors have
-// distinct error messages.
+// All errors must have unique msg strings.
+//
+// +stateify savable
type Error struct {
msg string