Bug 60669
Summary: | Kernel panic when using negative priority for HTB class | ||
---|---|---|---|
Product: | Networking | Reporter: | _Vi (vi0oss) |
Component: | Other | Assignee: | Stephen Hemminger (stephen) |
Status: | NEW --- | ||
Severity: | normal | CC: | szg00000 |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 3.11.0-rc2+ | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
Kernel panic output
Kernel panic output 2, now not using netconsole's interface for the test itself HTB prio unsigned fix |
Description
_Vi
2013-07-31 19:18:49 UTC
Created attachment 107065 [details]
Kernel panic output 2, now not using netconsole's interface for the test itself
Reproducible on 3.11.0-rc3 Looks like negative priority value is essential for the kernel panic. You must be using old version of iproute2. With current version the tc command does not allow negative priorities. + tc qdisc add dev eth1 root handle 55: htb default 1 + tc class add dev eth1 parent 55: classid 55:1 htb rate 50000000 + tc class add dev eth1 parent 55: classid 55:2 htb rate 50000000 prio -1 Illegal "prio" Maybe, but the kernel still should check for it. As far as I understand, CAP_NET_ADMIN is not expected to be able to crash kernel. Created attachment 107081 [details]
HTB prio unsigned fix
|