[CRIU] [PATCH] tcp: don't update snd_nxt, when a socket is switched from repair mode
Pavel Emelyanov
xemul at parallels.com
Tue Nov 19 10:20:39 PST 2013
On 11/19/2013 10:10 PM, Andrey Vagin wrote:
>
> Cc: Pavel Emelyanov <xemul at parallels.com>
> Cc: Eric Dumazet <edumazet at google.com>
> Cc: "David S. Miller" <davem at davemloft.net>
> Cc: Alexey Kuznetsov <kuznet at ms2.inr.ac.ru>
> Cc: James Morris <jmorris at namei.org>
> Cc: Hideaki YOSHIFUJI <yoshfuji at linux-ipv6.org>
> Cc: Patrick McHardy <kaber at trash.net>
> Signed-off-by: Andrey Vagin <avagin at openvz.org>
Acked-by: Pavel Emelyanov <xemul at parallels.com>
> ---
> net/ipv4/tcp_output.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
> index 6728546..fa9f57d 100644
> --- a/net/ipv4/tcp_output.c
> +++ b/net/ipv4/tcp_output.c
> @@ -3093,7 +3093,6 @@ void tcp_send_window_probe(struct sock *sk)
> {
> if (sk->sk_state == TCP_ESTABLISHED) {
> tcp_sk(sk)->snd_wl1 = tcp_sk(sk)->rcv_nxt - 1;
> - tcp_sk(sk)->snd_nxt = tcp_sk(sk)->write_seq;
> tcp_xmit_probe_skb(sk, 0);
> }
> }
>
More information about the CRIU
mailing list