diff options
| author | Jarek Poplawski <[email protected]> | 2008-08-21 12:11:14 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2008-08-21 12:11:14 +0000 |
| commit | 2540e0511ea17e25831be543cdf9381e6209950d (patch) | |
| tree | 31c505b9957d82125cd7e779d83da0d389f9d336 /lib/debugobjects.c | |
| parent | sctp: fix potential panics in the SCTP-AUTH API. (diff) | |
| download | kernel-2540e0511ea17e25831be543cdf9381e6209950d.tar.gz kernel-2540e0511ea17e25831be543cdf9381e6209950d.zip | |
pkt_sched: Fix qdisc_watchdog() vs. dev_deactivate() race
dev_deactivate() can skip rescheduling of a qdisc by qdisc_watchdog()
or other timer calling netif_schedule() after dev_queue_deactivate().
We prevent this checking aliveness before scheduling the timer. Since
during deactivation the root qdisc is available only as qdisc_sleeping
additional accessor qdisc_root_sleeping() is created.
With feedback from Herbert Xu <[email protected]>
Signed-off-by: Jarek Poplawski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
