Skip to content
Commit 264b87fa authored by Andrew Collins's avatar Andrew Collins Committed by David S. Miller
Browse files

fq_codel: Avoid regenerating skb flow hash unless necessary



The fq_codel qdisc currently always regenerates the skb flow hash.
This wastes some cycles and prevents flow seperation in cases where
the traffic has been encrypted and can no longer be understood by the
flow dissector.

Change it to use the prexisting flow hash if one exists, and only
regenerate if necessary.

Signed-off-by: default avatarAndrew Collins <acollins@cradlepoint.com>
Acked-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1f6cc07e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment