[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130911.161336.533952405072438938.davem@davemloft.net>
Date: Wed, 11 Sep 2013 16:13:36 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: alexander.duyck@...il.com
Cc: eric.dumazet@...il.com, netdev@...r.kernel.org,
alexander.h.duyck@...el.com
Subject: Re: [PATCH] net: fix multiqueue selection
From: Alexander Duyck <alexander.duyck@...il.com>
Date: Sat, 07 Sep 2013 21:08:59 -0700
> On 09/07/2013 12:02 PM, Eric Dumazet wrote:
>> From: Eric Dumazet <edumazet@...gle.com>
>>
>> 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@...gle.com>
...
> Ugh, my bad. This is a nasty one too since the behaviour appeared to be
> correct for most cases.
>
> It looks like this needs to go into stable for 3.9 - 3.11.
>
> Acked-by: Alexander Duyck <alexander.h.duyck@...el.com>
>
Applied and queued up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists