]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'tcp_tsoffset'
authorDavid S. Miller <davem@davemloft.net>
Wed, 13 Feb 2013 18:22:24 +0000 (13:22 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Feb 2013 18:22:24 +0000 (13:22 -0500)
commit67a199a624975996bddf40fd0fd6abea35ad9f25
tree0fc416746eeca68bbba228958636dd919fc3785f
parent336c942a5186ad7cfaf448d577f85c82725463ac
parent50f7005c9332bf6f1dd5600233ceccd166d803c0
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>