net: Change handling of the __QDISC_STATE_SCHED flag in net_tx_action().
authorJarek Poplawski <jarkao2@gmail.com>
Mon, 18 Aug 2008 04:54:43 +0000 (21:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Aug 2008 04:54:43 +0000 (21:54 -0700)
commitdef82a1db1fdc4f861c77009e2ee86870c3743b0
treeda2164c77beda2d5b0b4083969e8a2eeff837ff5
parenta9312ae89324438b0edc554eb36c3ec6bf927d04
net: Change handling of the __QDISC_STATE_SCHED flag in net_tx_action().

Change handling of the __QDISC_STATE_SCHED flag in net_tx_action() to
enable proper control in dev_deactivate(). Now, if this flag is seen
as unset under root_lock means a qdisc can't be netif_scheduled.

Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c