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

FS#3496 - tc -s qdisc crashes when a RED queue is in use: #8366

Open
openwrt-bot opened this issue Dec 8, 2020 · 1 comment
Open

FS#3496 - tc -s qdisc crashes when a RED queue is in use: #8366

openwrt-bot opened this issue Dec 8, 2020 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

dlakelan:

Supply the following if possible:

  • Device problem occurs on
    all
  • Software versions of OpenWrt/LEDE release, packages, etc.

current trunk and 19.x.x series

  • Steps to reproduce

attach red qdisc to an interface, then run tc -s qdisc and see segfault

ip link add type veth
tc qdisc add dev veth0 root red limit 150000  min 5000 max 10000 avpkt 500 bandwidth 1000kbit probability 1.0
tc -s qdisc
qdisc noqueue 0: dev lo root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc fq_codel 0: dev eth0 root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb ecn 
 Sent 4673809 bytes 6135 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 1414 drop_overlimit 0 new_flow_count 16 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc noqueue 0: dev br-lan root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc hfsc 1: dev eth0.1 root refcnt 2 default 3 
 Sent 762564 bytes 569 pkt (dropped 1, overlimits 7 requeues 0) 
 backlog 0b 0p requeues 0
Segmentation fault
root@OpenWrt:~#
@openwrt-bot
Copy link
Author

dlakelan:

To give some more context, and to provide an alternative way to confirm this bug... the thread here on the forum is creating some various qdisc hierarchies and it's borking with segfault when showing statistics... we've actually now got this happening with pfifo as well, I'm not sure what's ultimately happening, whether it has nothing to do with RED in particular, and just happened to show up when we used it or not.

https://forum.openwrt.org/t/help-prioritizing-games-with-alternative-qdisc-design/79258

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

No branches or pull requests

1 participant