diff options
author | John Fastabend <john.fastabend@gmail.com> | 2014-05-01 20:23:06 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-05 03:41:45 +0400 |
commit | f6a082fed1e6407c2f4437d0d963b1bcbe5f9f58 (patch) | |
tree | 3d5ac72aa43bc61cfdbed449ed0689a74327c635 /net/sched/sch_qfq.c | |
parent | 39076b047b160821110cb4deed13424ddfdf8d00 (diff) | |
download | linux-f6a082fed1e6407c2f4437d0d963b1bcbe5f9f58.tar.xz |
net: sched: lock imbalance in hhf qdisc
hhf_change() takes the sch_tree_lock and releases it but misses the
error cases. Fix the missed case here.
To reproduce try a command like this,
# tc qdisc change dev p3p2 root hhf quantum 40960 non_hh_weight 300000
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_qfq.c')
0 files changed, 0 insertions, 0 deletions