summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2013-09-07 21:02:57 +0200
committerDavid S. Miller <davem@davemloft.net>2013-09-11 22:10:00 +0200
commit50d1784ee4683f073c0362ee360bfae7a3333d6c (patch)
treec3d46665ad4ad2a6a82ecd2f78aa80038bb59281 /drivers/net
parentnet: sctp: fix smatch warning in sctp_send_asconf_del_ip (diff)
downloadlinux-50d1784ee4683f073c0362ee360bfae7a3333d6c.tar.xz
linux-50d1784ee4683f073c0362ee360bfae7a3333d6c.zip
net: fix multiqueue selection
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@google.com> Cc: Alexander Duyck <alexander.h.duyck@intel.com> Acked-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions