diff options
author | David S. Miller <davem@davemloft.net> | 2013-02-05 14:12:20 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-02-05 14:12:20 -0500 |
commit | 188d1f76d0dd3715ceeadfa31376867c3395eb41 (patch) | |
tree | b8976427ec21d3c346f2a993160b368c620c249a /net/ipv4/tcp_input.c | |
parent | 577ae39ddb037242964f5fe87fd50b0b89e3263b (diff) | |
parent | bf414b369f158bb527f9f29174ada815f961b44c (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts:
drivers/net/ethernet/intel/e1000e/ethtool.c
drivers/net/vmxnet3/vmxnet3_drv.c
drivers/net/wireless/iwlwifi/dvm/tx.c
net/ipv6/route.c
The ipv6 route.c conflict is simple, just ignore the 'net' side change
as we fixed the same problem in 'net-next' by eliminating cached
neighbours from ipv6 routes.
The e1000e conflict is an addition of a new statistic in the ethtool
code, trivial.
The vmxnet3 conflict is about one change in 'net' removing a guarding
conditional, whilst in 'net-next' we had a netdev_info() conversion.
The iwlwifi conflict is dealing with a WARN_ON() conversion in
'net-next' vs. a revert happening in 'net'.
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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index 492c7cfe1453..e376aa9591bc 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c | |||
@@ -3482,7 +3482,8 @@ static bool tcp_process_frto(struct sock *sk, int flag) | |||
3482 | ((tp->frto_counter >= 2) && (flag & FLAG_RETRANS_DATA_ACKED))) | 3482 | ((tp->frto_counter >= 2) && (flag & FLAG_RETRANS_DATA_ACKED))) |
3483 | tp->undo_marker = 0; | 3483 | tp->undo_marker = 0; |
3484 | 3484 | ||
3485 | if (!before(tp->snd_una, tp->frto_highmark)) { | 3485 | if (!before(tp->snd_una, tp->frto_highmark) || |
3486 | !tcp_packets_in_flight(tp)) { | ||
3486 | tcp_enter_frto_loss(sk, (tp->frto_counter == 1 ? 2 : 3), flag); | 3487 | tcp_enter_frto_loss(sk, (tp->frto_counter == 1 ? 2 : 3), flag); |
3487 | return true; | 3488 | return true; |
3488 | } | 3489 | } |
@@ -5647,8 +5648,7 @@ static bool tcp_rcv_fastopen_synack(struct sock *sk, struct sk_buff *synack, | |||
5647 | * the remote receives only the retransmitted (regular) SYNs: either | 5648 | * the remote receives only the retransmitted (regular) SYNs: either |
5648 | * the original SYN-data or the corresponding SYN-ACK is lost. | 5649 | * the original SYN-data or the corresponding SYN-ACK is lost. |
5649 | */ | 5650 | */ |
5650 | syn_drop = (cookie->len <= 0 && data && | 5651 | syn_drop = (cookie->len <= 0 && data && tp->total_retrans); |
5651 | inet_csk(sk)->icsk_retransmits); | ||
5652 | 5652 | ||
5653 | tcp_fastopen_cache_set(sk, mss, cookie, syn_drop); | 5653 | tcp_fastopen_cache_set(sk, mss, cookie, syn_drop); |
5654 | 5654 | ||