From: Patrick McHardy Date: Tue, 27 Mar 2007 21:04:24 +0000 (-0700) Subject: [NET_SCHED]: sch_htb/sch_hfsc: fix oops in qlen_notify X-Git-Tag: v2.6.21-rc6~82^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c38c83cb705a41e30a99545ae2314c00e3b9bf1c;p=pandora-kernel.git [NET_SCHED]: sch_htb/sch_hfsc: fix oops in qlen_notify During both HTB and HFSC class deletion the class is removed from the class hash before calling qdisc_tree_decrease_qlen. This makes the ->get operation in qdisc_tree_decrease_qlen fail, so it passes a NULL pointer to ->qlen_notify, causing an oops. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed