Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shed_cake.py bug, unable to add a cake qdisc under a parent #1208

Open
HeroesLament opened this issue Aug 21, 2024 · 0 comments
Open

shed_cake.py bug, unable to add a cake qdisc under a parent #1208

HeroesLament opened this issue Aug 21, 2024 · 0 comments

Comments

@HeroesLament
Copy link

Hello team,

Due to the behavior of ipr.tc() popping the 'parent' key from kwarg and onto msg, this creates a situation where when fix_msg() in sched_cake.py runs, it overwrites the 'parent' key in msg with TC_H_ROOT's value, even if the parent had been properly set:

def fix_msg(msg, kwarg):
if 'parent' not in kwarg:
msg['parent'] = TC_H_ROOT

This prevents any cake qdisc from being applied as a child qdisc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant