]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: xps: fix reordering issues
authorEric Dumazet <edumazet@google.com>
Thu, 23 May 2013 07:44:20 +0000 (07:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 May 2013 01:29:20 +0000 (18:29 -0700)
commit46a73f56f85fe061e8d06a5086acf6483f505cec
tree1667bc00b7f51cafedbdfb9c446a9ed54670e283
parent0b40aa13296eadd7a6436ae150e2a822071878ad
tcp: xps: fix reordering issues

commit d3da28191fafc ("xps: Improvements in TX queue selection")
introduced ooo_okay flag, but the condition to set it is slightly wrong.

In our traces, we have seen ACK packets being received out of order,
and RST packets sent in response.

We should test if we have any packets still in host queue.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Tom Herbert <therbert@google.com>
Cc: Yuchung Cheng <ycheng@google.com>
Cc: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_output.c