diff options
author | Eric Dumazet <edumazet@google.com> | 2019-12-23 11:13:24 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-26 15:35:09 -0800 |
commit | bb3d0b8bf5be61ab1d6f472c43cbf34de17e796b (patch) | |
tree | 18c1af1d9239b2145670c8e0d55834c45913d29d /net/smc | |
parent | Merge branch 'bnx2x-Bug-fixes' (diff) | |
download | linux-dev-bb3d0b8bf5be61ab1d6f472c43cbf34de17e796b.tar.xz linux-dev-bb3d0b8bf5be61ab1d6f472c43cbf34de17e796b.zip |
net_sched: sch_fq: properly set sk->sk_pacing_status
If fq_classify() recycles a struct fq_flow because
a socket structure has been reallocated, we do not
set sk->sk_pacing_status immediately, but later if the
flow becomes detached.
This means that any flow requiring pacing (BBR, or SO_MAX_PACING_RATE)
might fallback to TCP internal pacing, which requires a per-socket
high resolution timer, and therefore more cpu cycles.
Fixes: 218af599fa63 ("tcp: internal implementation for pacing")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Soheil Hassas Yeganeh <soheil@google.com>
Cc: Neal Cardwell <ncardwell@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc')
0 files changed, 0 insertions, 0 deletions