Skip to content
Commit ebca25ea authored by Yannick Vignon's avatar Yannick Vignon Committed by David S. Miller
Browse files

net/sched: taprio: Fix init procedure

Commit 13511704 ("net: taprio offload: enforce qdisc to netdev queue mapping")
resulted in duplicate entries in the qdisc hash.
While this did not impact the overall operation of the qdisc and taprio
code paths, it did result in an infinite loop when dumping the qdisc
properties, at least on one target (NXP LS1028 ARDB).
Removing the duplicate call to qdisc_hash_add() solves the problem.

Fixes: 13511704

 ("net: taprio offload: enforce qdisc to netdev queue mapping")
Signed-off-by: default avatarYannick Vignon <yannick.vignon@nxp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d51c5907
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