diff options
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r-- | net/ipv4/tcp_input.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index 74683d81c3f1..d6d0f9b6cdc6 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c | |||
@@ -2037,7 +2037,7 @@ static void tcp_try_to_open(struct sock *sk, int flag) | |||
2037 | { | 2037 | { |
2038 | struct tcp_sock *tp = tcp_sk(sk); | 2038 | struct tcp_sock *tp = tcp_sk(sk); |
2039 | 2039 | ||
2040 | tp->left_out = tp->sacked_out; | 2040 | tcp_sync_left_out(tp); |
2041 | 2041 | ||
2042 | if (tp->retrans_out == 0) | 2042 | if (tp->retrans_out == 0) |
2043 | tp->retrans_stamp = 0; | 2043 | tp->retrans_stamp = 0; |
@@ -2932,6 +2932,7 @@ void tcp_parse_options(struct sk_buff *skb, struct tcp_options_received *opt_rx, | |||
2932 | opt_rx->sack_ok) { | 2932 | opt_rx->sack_ok) { |
2933 | TCP_SKB_CB(skb)->sacked = (ptr - 2) - (unsigned char *)th; | 2933 | TCP_SKB_CB(skb)->sacked = (ptr - 2) - (unsigned char *)th; |
2934 | } | 2934 | } |
2935 | break; | ||
2935 | #ifdef CONFIG_TCP_MD5SIG | 2936 | #ifdef CONFIG_TCP_MD5SIG |
2936 | case TCPOPT_MD5SIG: | 2937 | case TCPOPT_MD5SIG: |
2937 | /* | 2938 | /* |