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

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Tue Dec 8 17:29:09 EST 2020


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Daniel Lakeland (dlakelan) 

Attached to Project - OpenWrt/LEDE Project
Summary - tc -s qdisc crashes when a RED queue is in use:
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Medium
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - 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 at OpenWrt:~#
```



More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3496

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list