[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20141014.131220.305958099471977918.davem@davemloft.net>
Date: Tue, 14 Oct 2014 13:12:20 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net] tcp: fix ooo_okay setting vs Small Queues
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 10 Oct 2014 18:06:35 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> TCP Small Queues (tcp_tsq_handler()) can hold one reference on
> sk->sk_wmem_alloc, preventing skb->ooo_okay being set.
>
> We should relax test done to set skb->ooo_okay to take care
> of this extra reference.
>
> Minimal truesize of skb containing one byte of payload is
> SKB_TRUESIZE(1)
>
> Without this fix, we have more chance locking flows into the wrong
> transmit queue.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied, thanks Eric.
--
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