OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Medium
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Daniel Lakeland - 08.12.2020

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

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:~#
```

Daniel Lakeland commented on 14.12.2020 18:22

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

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing