Eric Dumazet bc2ce894e1 tcp: relax tcp_paws_check()
Some windows versions have wrong RFC1323 implementations, with SYN and
SYNACKS messages containing zero tcp timestamps.

We relaxed in commit fc1ad92dfc4e363 the passive connection case
(Windows connects to a linux machine), but the reverse case (linux
connects to a Windows machine) has an analogue problem when tsvals from
windows machine are 'negative' (high order bit set) : PAWS triggers and
we drops incoming messages.

Fix this by making zero ts_recent value special, allowing frame to be
processed.

Based on a report and initial patch from Dmitiy Balakin

Bugzilla reference : https://bugzilla.kernel.org/show_bug.cgi?id=24842

Reported-by: dmitriy.balakin@nicneiron.ru
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-12-16 14:08:34 -08:00
..
2010-12-01 21:04:43 -02:00
2010-11-29 09:45:15 -08:00
2010-11-10 12:12:00 -08:00
2010-10-27 11:37:32 -07:00
2010-10-25 13:09:44 -07:00
2010-11-24 11:16:42 -08:00
2010-10-25 13:09:45 -07:00
2010-12-12 22:08:17 -08:00
2010-10-27 11:37:32 -07:00
2010-12-02 13:27:33 -08:00
2010-10-25 14:18:27 -07:00
2010-12-12 22:08:17 -08:00
2010-11-24 11:16:43 -08:00
2010-12-02 13:27:33 -08:00
2010-12-09 20:05:58 -08:00
2010-12-16 14:08:34 -08:00
2010-11-10 12:12:00 -08:00
2010-11-28 11:12:20 -08:00