From: David S. Miller Date: Sun, 3 Aug 2008 03:02:43 +0000 (-0700) Subject: pkt_sched: Use qdisc_lock() on already sampled root qdisc. X-Git-Tag: v2.6.27-rc2~2^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fb662297b8a4bdadd60371c34b760efca948ebc;p=pandora-kernel.git pkt_sched: Use qdisc_lock() on already sampled root qdisc. Based upon a bug report by Jeff Kirsher. Don't use qdisc_root_lock() in these cases as the root qdisc could have been changed, and we'd thus lock the wrong object. Tested by Emil S Tantilov who confirms that this seems to fix the problem. Signed-off-by: David S. Miller --- Reading git-diff-tree failed