diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-12-02 22:18:40 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-12-02 22:18:40 +0000 |
commit | 44a7719ab5c9dfd3732b8a0aab690f71724dd6eb (patch) | |
tree | eabeb2d57a5d66d8a6dbf75852db16213a7763a5 /pkg/tcpip/network/fragmentation/fragmentation.go | |
parent | beb14f5d7d4baeab41343548615bca06047a362d (diff) | |
parent | 6a26930eeb717f758ea7ba555df06d9028b24ec8 (diff) |
Merge release-20201117.0-99-g6a26930ee (automated)
Diffstat (limited to 'pkg/tcpip/network/fragmentation/fragmentation.go')
-rw-r--r-- | pkg/tcpip/network/fragmentation/fragmentation.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkg/tcpip/network/fragmentation/fragmentation.go b/pkg/tcpip/network/fragmentation/fragmentation.go index c75ca7d71..d31296a41 100644 --- a/pkg/tcpip/network/fragmentation/fragmentation.go +++ b/pkg/tcpip/network/fragmentation/fragmentation.go @@ -46,9 +46,13 @@ const ( ) var ( - // ErrInvalidArgs indicates to the caller that that an invalid argument was + // ErrInvalidArgs indicates to the caller that an invalid argument was // provided. ErrInvalidArgs = errors.New("invalid args") + + // ErrFragmentOverlap indicates that, during reassembly, a fragment overlaps + // with another one. + ErrFragmentOverlap = errors.New("overlapping fragments") ) // FragmentID is the identifier for a fragment. |