aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/smc
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2020-05-02 19:54:21 -0700
committerDavid S. Miller <davem@davemloft.net>2020-05-03 15:50:45 -0700
commitc288b0ca86a0a49ad450cf2d76a9a70c2ca9e43f (patch)
tree7e8a7d42bd7420c3b372becdf0173a5e78355c4b /net/smc
parentnet_sched: sch_fq: use bulk freeing in fq_gc() (diff)
downloadwireguard-linux-c288b0ca86a0a49ad450cf2d76a9a70c2ca9e43f.tar.xz
wireguard-linux-c288b0ca86a0a49ad450cf2d76a9a70c2ca9e43f.zip
net_sched: sch_fq: do not call fq_peek() twice per packet
This refactors the code to not call fq_peek() from fq_dequeue_head() since the caller can provide the skb. Also rename fq_dequeue_head() to fq_dequeue_skb() because 'head' is a bit vague, given the skb could come from t_root rb-tree. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc')
0 files changed, 0 insertions, 0 deletions