diff options
author | Bhasker Hariharan <bhaskerh@google.com> | 2019-10-15 17:03:13 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-10-15 17:04:44 -0700 |
commit | f98c3ee32c592417aa84f5c302b9db49f12ba129 (patch) | |
tree | aa104d55bfcdf168833babcb3ff5795940adbe23 /pkg/tcpip/network/fragmentation/BUILD | |
parent | db1ca5c786bcff19c0fef8a4cfb8c12ee15ed2f1 (diff) |
Remove panic when reassembly fails.
Reassembly can fail due to an invalid sequence of fragments
being received. eg. Multiple fragments with same id which
claim to be the last one by setting the more flag to 0 etc.
It's safer to just drop the reassembler and increment a metric
than to panic when reassembly fails.
PiperOrigin-RevId: 274920901
Diffstat (limited to 'pkg/tcpip/network/fragmentation/BUILD')
-rw-r--r-- | pkg/tcpip/network/fragmentation/BUILD | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/tcpip/network/fragmentation/BUILD b/pkg/tcpip/network/fragmentation/BUILD index 825ff3392..2cad0a0b6 100644 --- a/pkg/tcpip/network/fragmentation/BUILD +++ b/pkg/tcpip/network/fragmentation/BUILD @@ -28,6 +28,7 @@ go_library( visibility = ["//:sandbox"], deps = [ "//pkg/log", + "//pkg/tcpip", "//pkg/tcpip/buffer", ], ) |