]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: Fix broken repair socket window probe patch
authorStefan Baranoff <sbaranoff@gmail.com>
Sun, 15 Jul 2018 15:36:37 +0000 (11:36 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Jul 2018 21:06:44 +0000 (14:06 -0700)
commit42b729d8746c23127ef8c2672d360feab21f2dfe
tree32de842218f56480c1a6090df6f05a2c47da601e
parent2ccf5d864099a66b5a008a481ecbdeea06ce9da5
tcp: Fix broken repair socket window probe patch

Correct previous bad attempt at allowing sockets to come out of TCP
repair without sending window probes. To avoid changing size of
the repair variable in struct tcp_sock, this lets the decision for
sending probes or not to be made when coming out of repair by
introducing two ways to turn it off.

v2:
* Remove erroneous comment; defines now make behavior clear

Fixes: df5040653194 ("tcp: allow user to create repair socket without window probes")
Signed-off-by: Stefan Baranoff <sbaranoff@gmail.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Andrei Vagin <avagin@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/tcp.h
net/ipv4/tcp.c