mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
pkt_sched: Add qdisc_reset_all_tx().
Isolate callers that want to simply reset all the TX qdiscs from the details of TX queues. Use this in the ISDN code. Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
ee609cb362
commit
5aa709954a
2 changed files with 7 additions and 1 deletions
|
|
@ -287,7 +287,7 @@ isdn_net_unbind_channel(isdn_net_local * lp)
|
|||
BEWARE! This chunk of code cannot be called from hardware
|
||||
interrupt handler. I hope it is true. --ANK
|
||||
*/
|
||||
qdisc_reset(lp->netdev->dev->tx_queue.qdisc);
|
||||
qdisc_reset_all_tx(lp->netdev->dev);
|
||||
}
|
||||
lp->dialstate = 0;
|
||||
dev->rx_netdev[isdn_dc2minor(lp->isdn_device, lp->isdn_channel)] = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue