diff options
author | David S. Miller <davem@davemloft.net> | 2013-02-13 19:22:24 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-02-13 19:22:24 +0100 |
commit | b8fa4100350432504df438014e2e5e9c1bbb6325 (patch) | |
tree | 0fc416746eeca68bbba228958636dd919fc3785f /net/ipv4/af_inet.c | |
parent | Merge branch 'gfar-ethtool-atomic' of git://git.kernel.org/pub/scm/linux/kern... (diff) | |
parent | tcp: send packets with a socket timestamp (diff) | |
download | linux-b8fa4100350432504df438014e2e5e9c1bbb6325.tar.xz linux-b8fa4100350432504df438014e2e5e9c1bbb6325.zip |
Merge branch 'tcp_tsoffset'
Andrey Vagin says:
====================
If a TCP socket will get live-migrated from one box to another the
timestamps (which are typically ON) will get screwed up -- the new
kernel will generate TS values that has nothing to do with what they
were on dump. The solution is to yet again fix the kernel and put a
"timestamp offset" on a socket.
A socket offset is added in places where externally visible tcp
timestamp option is parsed/initialized.
Connections in the SYN_RECV state are not supported, global
tcp_time_stamp is used for them, because repair mode doesn't support
this state. In a future it can be implemented by the similar way as for
TIME_WAIT sockets.
For time-wait sockets offset is inhereted by a proper tcp_sock.
A per-socket offset can be set only for sockets in repair mode.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/af_inet.c')
0 files changed, 0 insertions, 0 deletions