tcp: update reordering first before detecting loss
authorYuchung Cheng <ycheng@google.com>
Wed, 29 Apr 2015 18:28:30 +0000 (11:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Apr 2015 21:10:38 +0000 (17:10 -0400)
commit9dac8835440622c2f84591673969d510ce198c11
tree2bd12ba14de9be870cb7d02ad12e2ebd9cc98c6e
parent6e9250f59ef9efb932c84850cd221f22c2a03c4a
tcp: update reordering first before detecting loss

tcp_mark_lost_retrans is not used when FACK is disabled. Since
tcp_update_reordering may disable FACK, it should be called first
before tcp_mark_lost_retrans.

Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Nandita Dukkipati <nanditad@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c