From: Jarek Poplawski Date: Wed, 13 Aug 2008 22:16:43 +0000 (-0700) Subject: pkt_sched: Fix oops in htb_delete. X-Git-Tag: v2.6.27-rc4~103^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26b284de54a5ca3dfbe2fd9a51ac1923e80085a2;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed