diff options
author | Jarek Poplawski <jarkao2@gmail.com> | 2008-08-14 00:16:43 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-14 00:16:43 +0200 |
commit | 26b284de54a5ca3dfbe2fd9a51ac1923e80085a2 (patch) | |
tree | 949d06bd4dca0b43cb7247c2013c89337a8ca18b /net/sched/sch_cbq.c | |
parent | pktgen: prevent pktgen from using bad tx queue (diff) | |
download | linux-26b284de54a5ca3dfbe2fd9a51ac1923e80085a2.tar.xz linux-26b284de54a5ca3dfbe2fd9a51ac1923e80085a2.zip |
pkt_sched: Fix oops in htb_delete.
Recent changes introduced a bug in htb_delete(): cl->parent->children
counter update misses checking cl->parent for NULL, which is used for
root classes, so deleting them causes an oops.
Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_cbq.c')
0 files changed, 0 insertions, 0 deletions