diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-12-16 23:08:34 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-16 23:08:34 +0100 |
commit | bc2ce894e113ed95b92541134b002fdc641e8080 (patch) | |
tree | 7c427099d5a1ab9cd387861e79470fc200153ff8 /drivers/net | |
parent | net: factorize sync-rcu call in unregister_netdevice_many (diff) | |
download | linux-bc2ce894e113ed95b92541134b002fdc641e8080.tar.xz linux-bc2ce894e113ed95b92541134b002fdc641e8080.zip |
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>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions