Eric Dumazet de213e5eed tcp: tcp_synack_options() fix
Commit 33ad798c924b4a (tcp: options clean up) introduced a problem
if MD5+SACK+timestamps were used in initial SYN message.

Some stacks (old linux for example) try to negotiate MD5+SACK+TSTAMP
sessions, but since 40 bytes of tcp options space are not enough to
store all the bits needed, we chose to disable timestamps in this case.

We send a SYN-ACK _without_ timestamp option, but socket has timestamps
enabled and all further outgoing messages contain a TS block, all with
the initial timestamp of the remote peer.

Fix is to really disable timestamps option for the whole session.

Reported-by: Bijay Singh <Bijay.Singh@guavus.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-05-17 22:35:36 -07:00
..
2010-04-20 16:37:13 -07:00
2010-04-13 03:03:14 -07:00
2010-05-17 22:35:36 -07:00
2010-05-17 22:27:12 -07:00
2010-04-20 16:37:13 -07:00
2010-04-23 16:37:33 -07:00
2010-05-17 17:18:50 -07:00
2010-04-20 16:37:13 -07:00
2010-04-20 16:37:13 -07:00
2009-07-12 12:22:34 -07:00
2010-05-11 14:09:10 -07:00
2010-05-17 17:39:28 -07:00