net: sched: lock imbalance in hhf qdisc
authorJohn Fastabend <john.fastabend@gmail.com>
Thu, 1 May 2014 16:23:06 +0000 (09:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 May 2014 23:41:45 +0000 (19:41 -0400)
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>

No differences found