From: Jarek Poplawski Date: Fri, 29 Aug 2008 21:21:52 +0000 (-0700) Subject: pkt_sched: Fix locking of qdisc_root with qdisc_root_sleeping_lock() X-Git-Tag: v2.6.27-rc6~49^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=102396ae65108b026e4e1868e30fa013f45a169e;p=pandora-kernel.git pkt_sched: Fix locking of qdisc_root with qdisc_root_sleeping_lock() Use qdisc_root_sleeping_lock() instead of qdisc_root_lock() where appropriate. The only difference is while dev is deactivated, when currently we can use a sleeping qdisc with the lock of noop_qdisc. This shouldn't be dangerous since after deactivation root lock could be used only by gen_estimator code, but looks wrong anyway. Signed-off-by: Jarek Poplawski Signed-off-by: David S. Miller --- Reading git-diff-tree failed