gvisor/pkg
Bhasker Hariharan efe5e737d7 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
2019-02-11 10:23:43 -08:00
..
abi Encode stat to bytes manually, instead of calling CopyObjectOut. 2019-02-08 15:48:23 -08:00
amutex Remove license comments 2019-01-31 11:12:53 -08:00
atomicbitops Remove license comments 2019-01-31 11:12:53 -08:00
binary Remove license comments 2019-01-31 11:12:53 -08:00
bits Remove license comments 2019-01-31 11:12:53 -08:00
bpf Remove license comments 2019-01-31 11:12:53 -08:00
compressio Remove license comments 2019-01-31 11:12:53 -08:00
control Remove license comments 2019-01-31 11:12:53 -08:00
cpuid Remove license comments 2019-01-31 11:12:53 -08:00
dhcp Remove license comments 2019-01-31 11:12:53 -08:00
eventchannel Remove license comments 2019-01-31 11:12:53 -08:00
fd Keep FilePayloads open on server side until after RPC completed. 2019-02-08 10:51:24 -08:00
fdnotifier Remove license comments 2019-01-31 11:12:53 -08:00
gate Remove license comments 2019-01-31 11:12:53 -08:00
ilist Remove license comments 2019-01-31 11:12:53 -08:00
linewriter Remove license comments 2019-01-31 11:12:53 -08:00
log Remove license comments 2019-01-31 11:12:53 -08:00
metric Remove license comments 2019-01-31 11:12:53 -08:00
p9 Don't mask out sticky bit to/from gofer 2019-01-31 11:30:56 -08:00
rand Remove license comments 2019-01-31 11:12:53 -08:00
refs Remove license comments 2019-01-31 11:12:53 -08:00
seccomp Remove license comments 2019-01-31 11:12:53 -08:00
secio Remove license comments 2019-01-31 11:12:53 -08:00
segment Remove license comments 2019-01-31 11:12:53 -08:00
sentry Add fs.AsyncWithContext and call it in fs/gofer/inodeOperations.Release. 2019-02-08 15:54:15 -08:00
sleep Remove license comments 2019-01-31 11:12:53 -08:00
state Remove license comments 2019-01-31 11:12:53 -08:00
syserr Remove license comments 2019-01-31 11:12:53 -08:00
syserror Remove license comments 2019-01-31 11:12:53 -08:00
tcpip Do not drop packets w/ missing TCP timestamps. 2019-02-11 10:23:43 -08:00
tmutex Remove license comments 2019-01-31 11:12:53 -08:00
unet Remove license comments 2019-01-31 11:12:53 -08:00
urpc Internal change. 2019-02-08 14:14:14 -08:00
waiter Remove license comments 2019-01-31 11:12:53 -08:00