]> git.karo-electronics.de Git - karo-tx-linux.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)
commit547669d483e5783d722772af1483fa474da7caf9
tree1667bc00b7f51cafedbdfb9c446a9ed54670e283
parent7a1a0cbfeb31f20acc10722642198e76bbc30cb9
tcp: xps: fix reordering issues

commit 3853b5841c01a ("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