pkt_sched: Fix qdisc state in net_tx_action()
commite8a83e10d7dfe5d0841062780769b30f65417e15
authorJarek Poplawski <jarkao2@gmail.com>
Mon, 8 Sep 2008 01:41:21 +0000 (7 18:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Sep 2008 01:41:21 +0000 (7 18:41 -0700)
treebc7069b34bb3173970ec06690323a1ab0f89ff56
parente3b802ba885b54f4050164c3cfd9e0ba9c73173a
pkt_sched: Fix qdisc state in net_tx_action()

net_tx_action() can skip __QDISC_STATE_SCHED bit clearing while qdisc
is neither ran nor rescheduled, which may cause endless loop in
dev_deactivate().

Reported-by: Denys Fedoryshchenko <denys@visp.net.lb>
Tested-by: Denys Fedoryshchenko <denys@visp.net.lb>
Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c