···287287 BEWARE! This chunk of code cannot be called from hardware288288 interrupt handler. I hope it is true. --ANK289289 */290290- qdisc_reset(lp->netdev->dev->tx_queue.qdisc);290290+ qdisc_reset_all_tx(lp->netdev->dev);291291 }292292 lp->dialstate = 0;293293 dev->rx_netdev[isdn_dc2minor(lp->isdn_device, lp->isdn_channel)] = NULL;
+6
include/net/sch_generic.h
···227227extern void tcf_destroy(struct tcf_proto *tp);228228extern void tcf_destroy_chain(struct tcf_proto **fl);229229230230+/* Reset all TX qdiscs of a device. */231231+static inline void qdisc_reset_all_tx(struct net_device *dev)232232+{233233+ qdisc_reset(dev->tx_queue.qdisc);234234+}235235+230236static inline int __qdisc_enqueue_tail(struct sk_buff *skb, struct Qdisc *sch,231237 struct sk_buff_head *list)232238{