diff options
author | Zhaozhong Ni <nzz@google.com> | 2018-05-11 16:27:50 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-05-11 16:28:39 -0700 |
commit | 987f7841a6ad8b77fe6a41cb70323517a5d2ccd1 (patch) | |
tree | 8b8b86d6723ee31a8b1ff3df8e5e43d235cd440b /pkg/tcpip/tcpip.go | |
parent | 85fd5d40ff78f7b7fd473e5215daba84a28977f3 (diff) |
netstack: TCP connecting state endpoint save / restore support.
PiperOrigin-RevId: 196325647
Change-Id: I850eb4a29b9c679da4db10eb164bbdf967690663
Diffstat (limited to 'pkg/tcpip/tcpip.go')
-rw-r--r-- | pkg/tcpip/tcpip.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/tcpip/tcpip.go b/pkg/tcpip/tcpip.go index f9df1d989..c27c0dd89 100644 --- a/pkg/tcpip/tcpip.go +++ b/pkg/tcpip/tcpip.go @@ -31,6 +31,9 @@ import ( // 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. type Error struct { string } |