diff options
author | Bhasker Hariharan <bhaskerh@google.com> | 2019-02-11 10:22:42 -0800 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-02-11 10:23:43 -0800 |
commit | efe5e737d7da48e6f99a1d9a53fe04b6d21b7511 (patch) | |
tree | 0709c0e8448a08c8ee361cf4ad961c10f8eea25b /pkg/linewriter | |
parent | 85d53d81d9f544277e3e86f83558cbc008ff7adb (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/linewriter')
0 files changed, 0 insertions, 0 deletions