diff options
author | David S. Miller <davem@davemloft.net> | 2015-07-23 03:41:16 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-23 03:41:16 -0400 |
commit | c5e40ee287db61a79af1746954ee03ebbf1ff8a3 (patch) | |
tree | 007da00e75e9b84766ac4868421705300e1e2e14 /net/ipv4/tcp_input.c | |
parent | 052831879945be0d9fad2216b127147c565ec1b1 (diff) | |
parent | c5dfd654d0ec0a28fe81e7bd4d4fd984a9855e09 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts:
net/bridge/br_mdb.c
br_mdb.c conflict was a function call being removed to fix a bug in
'net' but whose signature was changed in 'net-next'.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r-- | net/ipv4/tcp_input.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index cda3ffedadb6..4e4d6bcd0ca9 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c | |||
@@ -1920,14 +1920,13 @@ void tcp_enter_loss(struct sock *sk) | |||
1920 | const struct inet_connection_sock *icsk = inet_csk(sk); | 1920 | const struct inet_connection_sock *icsk = inet_csk(sk); |
1921 | struct tcp_sock *tp = tcp_sk(sk); | 1921 | struct tcp_sock *tp = tcp_sk(sk); |
1922 | struct sk_buff *skb; | 1922 | struct sk_buff *skb; |
1923 | bool new_recovery = false; | 1923 | bool new_recovery = icsk->icsk_ca_state < TCP_CA_Recovery; |
1924 | bool is_reneg; /* is receiver reneging on SACKs? */ | 1924 | bool is_reneg; /* is receiver reneging on SACKs? */ |
1925 | 1925 | ||
1926 | /* Reduce ssthresh if it has not yet been made inside this window. */ | 1926 | /* Reduce ssthresh if it has not yet been made inside this window. */ |
1927 | if (icsk->icsk_ca_state <= TCP_CA_Disorder || | 1927 | if (icsk->icsk_ca_state <= TCP_CA_Disorder || |
1928 | !after(tp->high_seq, tp->snd_una) || | 1928 | !after(tp->high_seq, tp->snd_una) || |
1929 | (icsk->icsk_ca_state == TCP_CA_Loss && !icsk->icsk_retransmits)) { | 1929 | (icsk->icsk_ca_state == TCP_CA_Loss && !icsk->icsk_retransmits)) { |
1930 | new_recovery = true; | ||
1931 | tp->prior_ssthresh = tcp_current_ssthresh(sk); | 1930 | tp->prior_ssthresh = tcp_current_ssthresh(sk); |
1932 | tp->snd_ssthresh = icsk->icsk_ca_ops->ssthresh(sk); | 1931 | tp->snd_ssthresh = icsk->icsk_ca_ops->ssthresh(sk); |
1933 | tcp_ca_event(sk, CA_EVENT_LOSS); | 1932 | tcp_ca_event(sk, CA_EVENT_LOSS); |