diff options
author | David S. Miller <davem@davemloft.net> | 2009-08-21 16:33:34 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-22 18:09:17 -0700 |
commit | ee5f9757ea17759e1ce5503bdae2b07e48e32af9 (patch) | |
tree | 0625fdaf307890a0875981d28ecb77e7ddd96143 /include | |
parent | 649bf17829d087f83754e2a8161e094a167ce3d3 (diff) | |
download | op-kernel-dev-ee5f9757ea17759e1ce5503bdae2b07e48e32af9.zip op-kernel-dev-ee5f9757ea17759e1ce5503bdae2b07e48e32af9.tar.gz |
pkt_sched: Convert qdisc_watchdog to tasklet_hrtimer
None of this stuff should execute in hw IRQ context, therefore
use a tasklet_hrtimer so that it runs in softirq context.
Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/pkt_sched.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/pkt_sched.h b/include/net/pkt_sched.h index 82a3191..7eafb8d 100644 --- a/include/net/pkt_sched.h +++ b/include/net/pkt_sched.h @@ -61,8 +61,8 @@ psched_tdiff_bounded(psched_time_t tv1, psched_time_t tv2, psched_time_t bound) } struct qdisc_watchdog { - struct hrtimer timer; - struct Qdisc *qdisc; + struct tasklet_hrtimer timer; + struct Qdisc *qdisc; }; extern void qdisc_watchdog_init(struct qdisc_watchdog *wd, struct Qdisc *qdisc); |