]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tcp: accommodate sequence number to a peer's shrunk receive window caused by precisio...
authorCui, Cheng <Cheng.Cui@netapp.com>
Fri, 17 Feb 2017 17:04:55 +0000 (17:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Feb 2017 20:30:33 +0000 (15:30 -0500)
commita4ecb15a2432880353d0de4a35204ab8b65b8751
treedb790c28e3b8fc8d2512f8200e98a2e176f234b9
parente606519ec3e7ec294b9c15c6248f9ea51e9eb2cb
tcp: accommodate sequence number to a peer's shrunk receive window caused by precision loss in window scaling

Prevent sending out a left-shifted sequence number from a Linux sender in
response to a peer's shrunk receive-window caused by losing least significant
bits in window-scaling.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Cc: James Morris <jmorris@namei.org>
Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Cc: Patrick McHardy <kaber@trash.net>
Signed-off-by: Cheng Cui <Cheng.Cui@netapp.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_output.c