This is a note to let you know that I've just added the patch titled net: fix multiqueue selection to the 3.10-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: net-fix-multiqueue-selection.patch and it can be found in the queue-3.10 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From c7c1522f4a1afc5f7f8292b785cdb8855824ea12 Mon Sep 17 00:00:00 2001 From: Eric Dumazet <edumazet@xxxxxxxxxx> Date: Sat, 7 Sep 2013 12:02:57 -0700 Subject: net: fix multiqueue selection From: Eric Dumazet <edumazet@xxxxxxxxxx> [ Upstream commit 50d1784ee4683f073c0362ee360bfae7a3333d6c ] commit 416186fbf8c5b4e4465 ("net: Split core bits of netdev_pick_tx into __netdev_pick_tx") added a bug that disables caching of queue index in the socket. This is the source of packet reorders for TCP flows, and again this is happening more often when using FQ pacing. Old code was doing if (queue_index != old_index) sk_tx_queue_set(sk, queue_index); Alexander renamed the variables but forgot to change sk_tx_queue_set() 2nd parameter. if (queue_index != new_index) sk_tx_queue_set(sk, queue_index); This means we store -1 over and over in sk->sk_tx_queue_mapping Signed-off-by: Eric Dumazet <edumazet@xxxxxxxxxx> Cc: Alexander Duyck <alexander.h.duyck@xxxxxxxxx> Acked-by: Alexander Duyck <alexander.h.duyck@xxxxxxxxx> Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- net/core/flow_dissector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/net/core/flow_dissector.c +++ b/net/core/flow_dissector.c @@ -347,7 +347,7 @@ u16 __netdev_pick_tx(struct net_device * if (queue_index != new_index && sk && rcu_access_pointer(sk->sk_dst_cache)) - sk_tx_queue_set(sk, queue_index); + sk_tx_queue_set(sk, new_index); queue_index = new_index; } Patches currently in stable-queue which might be from edumazet@xxxxxxxxxx are queue-3.10/net_sched-htb-fix-a-typo-in-htb_change_class.patch queue-3.10/ipv6-gre-correct-calculation-of-max_headroom.patch queue-3.10/net-fix-multiqueue-selection.patch queue-3.10/bridge-use-br_port_get_rtnl-within-rtnl-lock.patch queue-3.10/bridge-fix-null-pointer-deref-of-br_port_get_rcu.patch queue-3.10/net-flow_dissector-fix-thoff-for-ipproto_ah.patch queue-3.10/net-net_secret-should-not-depend-on-tcp.patch -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html