diff options
author | 2014-10-10 18:06:35 -0700 | |
---|---|---|
committer | 2014-10-14 13:12:00 -0400 | |
commit | b2532eb9abd88384aa586169b54a3e53574f29f8 (patch) | |
tree | f46795756a2b89adab83759a4e47befd8ba8aba6 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | skbuff: fix ftrace handling in skb_unshare (diff) | |
download | linux-dev-b2532eb9abd88384aa586169b54a3e53574f29f8.tar.xz linux-dev-b2532eb9abd88384aa586169b54a3e53574f29f8.zip |
tcp: fix ooo_okay setting vs Small Queues
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@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions