sched: qdisc_reset_all_tx is calling qdisc_reset without qdisc_lock
authorJohn Fastabend <john.r.fastabend@intel.com>
Thu, 1 Jul 2010 13:21:35 +0000 (13:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Jul 2010 04:59:07 +0000 (21:59 -0700)
commit4ef6acff83222f4496ceef7d1f0ee9e50a5bb403
tree0982d46258047f208c26068252457179f5f13bdf
parent7ae80abdba0644e12ac17da567a2db1efc1bf8a8
sched: qdisc_reset_all_tx is calling qdisc_reset without qdisc_lock

When calling qdisc_reset() the qdisc lock needs to be held.  In
this case there is at least one driver i4l which is using this
without holding the lock.  Add the locking here.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sch_generic.h