summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/link/sharedmem/sharedmem.go
diff options
context:
space:
mode:
authorBhasker Hariharan <bhaskerh@google.com>2019-02-11 10:22:42 -0800
committerShentubot <shentubot@google.com>2019-02-11 10:23:43 -0800
commitefe5e737d7da48e6f99a1d9a53fe04b6d21b7511 (patch)
tree0709c0e8448a08c8ee361cf4ad961c10f8eea25b /pkg/tcpip/link/sharedmem/sharedmem.go
parent85d53d81d9f544277e3e86f83558cbc008ff7adb (diff)
Do not drop packets w/ missing TCP timestamps.
RFC7323 recommends that if the timestamp option was negotiated then all packets should carry a TCP Timestamp and any packets that do not should be dropped. Netstack implemented this behaviour. Linux OTOH does not and will accept such packets. This change makes Netstack behaviour compatible with Linux. Also now that we allow such packets, we do need to update RTO calculations based on these packets even if timestamp option is enabled. PiperOrigin-RevId: 233432268 Change-Id: I9f4742ae6b63930ac3b5e37d8c238761e6a4b29f
Diffstat (limited to 'pkg/tcpip/link/sharedmem/sharedmem.go')
0 files changed, 0 insertions, 0 deletions