commit | 5fb662297b8a4bdadd60371c34b760efca948ebc | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Sat Aug 02 20:02:43 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sat Aug 02 20:02:43 2008 -0700 |
tree | ef1def70cfa440ab3d367f6f67d466227ffdf0ef | |
parent | 82f97b8d3cb3982ec97e081598c671fab2c321b0 [diff] |
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 <davem@davemloft.net>