[NET_SCHED]: Reread dev->qdisc for NETDEV_TX_OK
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 May 2007 21:11:16 +0000 (14:11 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 11 May 2007 06:47:41 +0000 (23:47 -0700)
commitcce1fa36a8ed36e8a3f64455e2a830f48e904c64
treea392228b6b8d88a339cf9645548e31188ca4fb74
parentd90df3ad07a20cd93921e05ff2b12ca7030b4fd7
[NET_SCHED]: Reread dev->qdisc for NETDEV_TX_OK

Now that we return the queue length after NETDEV_TX_OK we better
make sure that we have the right queue.  Otherwise we can cause a
stall after a really quick dev_deactive/dev_activate.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_generic.c